Files
evol-headers/.gitea/workflows/run_tests.yaml
T
mo7sen 795ae6585d
Run tests / Run tests (push) Successful in 11s
DRAFT TESTS FOR UPLOAD ARTIFACT V7
2026-05-05 18:11:53 +03:00

52 lines
1.4 KiB
YAML

name: Run tests
run-name: Running Tests
on: [push]
jobs:
Run tests:
runs-on: ubuntu-latest
container:
image: git.neosisyphus.com/evol3d/evol-testbed:latest
steps:
- uses: actions/checkout@v4
- name: Configure
run: meson setup build
# run: meson setup -Db_coverage=true build
- name: Run Tests
run: meson test -C build
- name: Run Memory Tests
if: always()
run: meson test -C build --wrapper=valgrind
# - name: Generate coverage report
# if: always()
# run: ninja coverage-html -C build
- name: Print meson-log.txt
run: cat build/meson-logs/meson-log.txt >> "$GITHUB_STEP_SUMMARY"
- name: Upload meson-log.txt
if: always()
uses: https://git.neosisyphus.com/mo7sen/upload-artifact-gitea@v7
with:
name: meson-log.txt
path: build/meson-logs/meson-log.txt
archive: false
- name: Upload meson-setup.txt
if: always()
uses: https://git.neosisyphus.com/mo7sen/upload-artifact-gitea@v7
with:
name: meson-setup.txt
path: build/meson-logs/meson-setup.txt
archive: false
- name: Upload testlog.txt
if: always()
uses: https://git.neosisyphus.com/mo7sen/upload-artifact-gitea@v7
with:
name: testlog.txt
path: build/meson-logs/testlog.txt
archive: false