implemented tests #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Backend tests" | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test-all: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
submodules: recursive | |
- name: setup-env | |
run: sudo apt install cmake sqlite3 gcc | |
- name: build | |
run: cmake -B build && cmake --build build | |
env: | |
CXX: g++-13 | |
- name: test-all | |
run: ctest --test-dir build |