From 750aaa1333d134da3ca258daae82d4a7c894bdd3 Mon Sep 17 00:00:00 2001 From: robelgeda Date: Thu, 31 Oct 2024 18:48:45 -0400 Subject: [PATCH] fix cov install --- .github/workflows/test.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c36ccb5..2f53d42 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,7 +33,12 @@ jobs: continue-on-error: true coverage: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest] + python-version: ["3.12"] steps: - uses: actions/checkout@v4 @@ -48,6 +53,9 @@ jobs: - name: Install dependencies run: pip install pytest pytest-cov + - name: Install petrofit + run: pip install . + - name: Run tests run: pytest --cov --cov-report=xml