Skip to content

Commit 9ff2c44

Browse files
committed
Fix CI coverage
1 parent 2dd1327 commit 9ff2c44

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/fpm-deployment.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,21 @@ jobs:
7676
steps:
7777
- name: Checkout code
7878
uses: actions/checkout@v4.2.2
79-
with:
80-
ref: stdlib-fpm
8179

8280
- uses: fortran-lang/setup-fortran@main
8381
id: setup-fortran
8482
with:
8583
compiler: ${{ matrix.toolchain.compiler }}
8684
version: ${{ matrix.toolchain.version }}
8785

86+
- name: Set up Python 3.x
87+
uses: actions/setup-python@v1
88+
with:
89+
python-version: 3.x
90+
91+
- name: Install requirements
92+
run: pip install --upgrade -r config/requirements.txt
93+
8894
- name: Setup Fortran Package Manager
8995
uses: fortran-lang/setup-fpm@v8
9096
with:
@@ -95,8 +101,9 @@ jobs:
95101
run: |
96102
sudo apt-get install lcov
97103
98-
- name: Run tests to generate the coverage.
99-
run: fpm test --profile release --flag '-DWITH_XDP -DWITH_QP -coverage'
104+
- run: | # Use fpm gnu ci to check xdp and qp
105+
python config/fypp_deployment.py --with_xdp --with_qp
106+
fpm test --profile release --flag '-DWITH_XDP -DWITH_QP -coverage'
100107
101108
- name: Create coverage report
102109
run: |

0 commit comments

Comments
 (0)