Skip to content

Only run tests on pushes/PRs to main #12

Only run tests on pushes/PRs to main

Only run tests on pushes/PRs to main #12

Workflow file for this run

name: tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: test
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
name: checkout
- run: |
sudo apt-get update
sudo apt-get install meson libcriterion-dev
name: install dependencies
- run: meson setup debug --buildtype=debug
name: setup debug
- run: meson test -C debug --verbose
name: test debug
- run: meson setup release --buildtype=release
name: setup release
- run: meson test -C release --verbose
name: test release