Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Feb 12, 2024
1 parent e21f3d5 commit 833f432
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: unitary

on: ["push", "pull_request"]
on: [ "push", "pull_request" ]

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
python-version: [ "3.10", "3.11" ]

name: "unit tests: python ${{ matrix.python-version }}"

Expand All @@ -29,11 +29,18 @@ jobs:
- name: Run Unit Tests
env:
PYTHONPATH: ${{ github.workspace }}
# pass internals to pytest-cov, we are testing a pytest plugin: See https://github.com/pytest-dev/pytest-cov/blob/2c9f2170/docs/plugins.rst
# pass internals to pytest-cov, since we are testing a pytest plugin.
# See https://github.com/pytest-dev/pytest-cov/blob/2c9f2170/docs/plugins.rst
COV_CORE_SOURCE: boa
COV_CORE_CONFIG: .coveragerc
COV_CORE_DATAFILE: .coverage.eager
run: pytest --cov=boa --cov-append --cov-report term-missing:skip-covered --cov-fail-under=70 tests/unitary/
run: >-
pytest
--cov=boa
--cov-append
--cov-report term-missing:skip-covered
--cov-fail-under=70
tests/unitary/
integration:
name: "integration tests (forked and networked modes)"
Expand Down

0 comments on commit 833f432

Please sign in to comment.