Merge branch 'main' into 280-improve-test-coverage #130
Workflow file for this run
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
on: | |
push: | |
branches: ["*","!main"] | |
name: Pacti Development | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
max-parallel: 4 | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ["3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup PDM | |
uses: pdm-project/setup-pdm@main | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
enable-pep582: true | |
- name: Install dependencies | |
run: pdm install | |
- name: Test code | |
run: make test | |
- name: Compute Coverage | |
run: make coverage | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
name: codecov-pacti | |
fail_ci_if_error: true | |
files: htmlcov/* | |
verbose: true |