Files
evol-headers/.gitea/workflows/run_tests.yaml
T
mo7sen 91c6c91578
Run tests / Run tests (push) Successful in 10s
DRAFT TESTS FOR UPLOAD ARTIFACT V7
2026-05-05 17:59:57 +03:00

50 lines
1.3 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: 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