Skip to content

Commit 81ca5fd

Browse files
committed
update build action
1 parent 176a887 commit 81ca5fd

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build_tests.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414
jobs:
1515

1616
build_wheels:
17+
name: Build wheels
1718
runs-on: ${{ matrix.os }}
1819
strategy:
1920
matrix:
@@ -43,6 +44,7 @@ jobs:
4344
path: dist/pecos*
4445

4546
test_wheels:
47+
name: Test wheels
4648
needs: build_wheels
4749
runs-on: ${{ matrix.os }}
4850
strategy:
@@ -64,7 +66,7 @@ jobs:
6466
python -m pip install --upgrade pip
6567
pip install wheel numpy pandas jinja2 matplotlib pytest
6668
pip install --no-index --pre --find-links=. pecos
67-
- name: Usage of pecos
69+
- name: Import pecos
6870
run: |
6971
python -c "import pecos"
7072
@@ -74,6 +76,7 @@ jobs:
7476
matrix:
7577
python-version: ['3.9', '3.10', '3.11', '3.12']
7678
os: [windows-latest, macOS-latest, ubuntu-latest]
79+
fail-fast: false
7780
steps:
7881
- uses: actions/checkout@v4
7982
- name: Set up Python ${{ matrix.python-version }}
@@ -98,6 +101,7 @@ jobs:
98101
with:
99102
name: .coverage.${{ matrix.python-version }}.${{ matrix.os }}
100103
path: .coverage.${{ matrix.python-version }}.${{ matrix.os }}
104+
include-hidden-files: true
101105

102106
combine_reports:
103107
needs: [ run_coverage ]
@@ -129,8 +133,7 @@ jobs:
129133
echo " D:\\a\\pecos\\pecos\\pecos" >> .coveragerc
130134
echo " /home/runner/work/pecos/pecos/pecos" >> .coveragerc
131135
echo " /Users/runner/work/pecos/pecos/pecos" >> .coveragerc
132-
coverage combine
133-
136+
echo " ${{ github.workspace }}/pecos" >> .coveragerc
134137
coverage report
135138
coverage json --pretty-print
136139
coverage html --show-contexts

0 commit comments

Comments
 (0)