Skip to content

Commit

Permalink
chore(ci): Run coverage CI only on ubuntu-latests (#36)
Browse files Browse the repository at this point in the history
Closes #34
  • Loading branch information
pesap authored Jun 20, 2024
1 parent 6133a7b commit 9e5959d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- main
pull_request:

env:
DEFAULT_PYTHON: "3.12"
DEFAULT_OS: ubuntu-latest

jobs:
pytest:
runs-on: ${{ matrix.os }}
Expand All @@ -29,6 +33,7 @@ jobs:
pytest -v --cov --cov-report=xml
- name: codecov
uses: codecov/[email protected]
if: ${{ matrix.os == env.DEFAULT_OS && matrix.python-version == env.DEFAULT_PYTHON }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: infrasys-tests
Expand Down

0 comments on commit 9e5959d

Please sign in to comment.