Skip to content

Commit

Permalink
actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rogelioLpz committed May 31, 2024
1 parent c4142c3 commit 8a8a8a7
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: test

on: push
on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/[email protected]
with:
python-version: 3.10
python-version: 3.8
- name: Install dependencies
run: make install-test
- name: Lint
Expand All @@ -20,9 +20,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.8, 3.10]
python-version: ['3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
Expand All @@ -39,16 +39,15 @@ jobs:
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3.10
python-version: 3.8
- name: Install dependencies
run: make install-test
- name: Generate coverage report
run: pytest --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2.1.0
uses: codecov/codecov-action@v3.1.4
with:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true

0 comments on commit 8a8a8a7

Please sign in to comment.