Skip to content

Teardown Implemented #2279

Teardown Implemented

Teardown Implemented #2279

Workflow file for this run

name: quisp main
on: [push, pull_request]
jobs:
unit-test:
runs-on: ubuntu-latest
container:
image: ghcr.io/sfc-aqua/quisp-ci:latest
credentials:
username: quisp-bot
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: work around permission issue
run: git config --global --add safe.directory /__w/quisp/quisp
- name: Check out repository
uses: actions/checkout@v4
- name: make eigen
run: make eigen
- name: generate makefile
run: make makefile-lib
- name: generate message headers
run: make msgheaders
- name: make googletest
run: make googletest
- name: unit tests and generate coverage report
run: |
opp_makemake -f --deep -O out -i ./makefrag -M release --make-so
make lcov.info
lcov -r lcov.info 'googletest/*' -o lcov_filtered.info
working-directory: quisp
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./quisp/lcov_filtered.info
simulation-test:
runs-on: ubuntu-latest
container:
image: ghcr.io/sfc-aqua/quisp-ci:latest
credentials:
username: quisp-bot
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: work around permission issue
run: git config --global --add safe.directory /__w/quisp/quisp
- name: Check out repository
uses: actions/checkout@v4
- name: Install python dependencies for simulation tests
run: pip install -r requirements.txt
- name: doctest for simulation test utils
run: python3 -m doctest simulation_tests/utils.py -v
- name: make eigen
run: make eigen
- name: build
run: make exe
- name: Run Simulations
run: pytest simulation_tests -n auto
module-test:
runs-on: ubuntu-latest
container:
image: ghcr.io/sfc-aqua/quisp-ci:latest
credentials:
username: quisp-bot
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: work around permission issue
run: git config --global --add safe.directory /__w/quisp/quisp
- name: Check out repository
uses: actions/checkout@v4
- name: make eigen
run: make eigen
- name: generate makefile
run: make makefile-lib
- name: generate message headers
run: make msgheaders
- name: make googletest
run: make googletest
- name: run module_tests
run: make run-module-test
clang-tidy:
runs-on: ubuntu-latest
container:
image: ghcr.io/sfc-aqua/quisp-ci:latest
credentials:
username: quisp-bot
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: work around permission issue
run: git config --global --add safe.directory /__w/quisp/quisp
- name: Check out repository
uses: actions/checkout@v4
- name: make eigen
run: make eigen
- name: generate makefile
run: make makefile-lib
- name: generate message headers
run: make msgheaders
- name: make googletest
run: make googletest
- name: clang-tidy
run: make tidy
clang-format:
runs-on: ubuntu-latest
container:
image: ghcr.io/sfc-aqua/quisp-ci:latest
credentials:
username: quisp-bot
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: work around permission issue
run: git config --global --add safe.directory /__w/quisp/quisp
- name: Check out repository
uses: actions/checkout@v4
- name: generate makefile
run: make makefile-lib
- name: generate message headers
run: make msgheaders
- name: clang-format
run: make format-ci