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 Logs # if: always() # uses: christopherHX/gitea-upload-artifact@v4 # with: # name: meson-logs # path: build/meson-logs/ - name: Upload Meson Logs if: always() uses: actions/upload-artifact@v7 env: # actions/upload-artifact treats any non-github.com GITHUB_SERVER_URL as # GHES via isGhes(), then rejects/uses the wrong path. Gitea provides # the artifact runtime through ACTIONS_RUNTIME_* env vars, so only spoof # this value for the action's GitHub/GHES detection. GITHUB_SERVER_URL: https://github.com with: name: meson-log.txt path: build/meson-logs/meson-log.txt archive: false