1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2024-11-18 00:18:13 +01:00
Minetest-WorldEdit/.github/workflows/test.yml

27 lines
647 B
YAML
Raw Normal View History

2023-06-11 16:08:55 +02:00
name: "Test"
on: [push, pull_request]
jobs:
test:
2024-03-25 17:11:00 +01:00
name: "Unit Tests ${{ matrix.cfg.image }}"
runs-on: ubuntu-latest
2024-03-25 17:11:00 +01:00
timeout-minutes: 5
strategy:
matrix:
cfg:
- { image: 'registry.gitlab.com/minetest/minetest/server:5.5.1', mtg: false }
- { image: '', mtg: true } # latest mater
steps:
2024-03-25 16:48:09 +01:00
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: 'minetest/minetest_game'
path: minetest_game
2024-03-25 17:11:00 +01:00
if: ${{ matrix.cfg.mtg }}
2024-03-25 16:48:09 +01:00
- name: Run tests
2024-03-25 16:48:09 +01:00
run: ./.util/run_tests.sh --docker
2024-03-25 17:11:00 +01:00
env:
DOCKER_IMAGE: "${{ matrix.cfg.image }}"