Skip to content

Commit 5f6207a

Browse files
committed
Add some changes included in PR theochem#151
1 parent 1da7766 commit 5f6207a

1 file changed

Lines changed: 8 additions & 17 deletions

File tree

.github/workflows/pytest.yaml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,17 @@ on:
99
pull_request:
1010

1111
jobs:
12-
tests:
12+
pytest:
1313
name: "Python ${{ matrix.py }} on OS ${{ matrix.os }}"
1414
runs-on: ${{ matrix.os }}
15+
env:
16+
COVERAGE_SINGLE: 80
17+
COVERAGE_TOTAL: 90
1518

1619
strategy:
1720
matrix:
1821
os: ["ubuntu-latest", "windows-latest"]
19-
py: ["3.7", "3.9", "3.10", "3.11"]
22+
py: ["3.7", "3.8", "3.9", "3.10", "3.11"]
2023

2124
steps:
2225
- uses: "actions/checkout@v3"
@@ -43,18 +46,6 @@ jobs:
4346
sudo apt-get install -y sbcl
4447
USE_LIBCINT=1 ./tools/install_libcint.sh
4548
46-
- name: Run pytest
47-
uses: pavelzw/pytest-action@v2
48-
with:
49-
verbose: true
50-
emoji: true
51-
job-summary: true
52-
click-to-expand: true
53-
custom-arguments: "--junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=gbasis"
54-
report-title: 'Test Report'
55-
56-
- name: Pytest coverage comment
57-
uses: MishaKav/pytest-coverage-comment@main
58-
with:
59-
pytest-coverage-path: ./pytest-coverage.txt
60-
junitxml-path: ./pytest.xml
49+
- name: Run Pytest
50+
run: |
51+
pytest --cov=./gbasis/ --cov-fail-under=90 --cov-report term .

0 commit comments

Comments
 (0)