Skip to content

Commit

Permalink
Updating build workflow (#132)
Browse files Browse the repository at this point in the history
- Adding CODECOV token
- Updating action versions
- Covering new Python versions
  • Loading branch information
c4deszes authored Jan 29, 2024
1 parent 2fe6236 commit 63ae6cc
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10.0b1']
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
runs-on: ubuntu-latest
container:
image: python:${{ matrix.python-version }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install
run: pip install -e .[dev]
Expand All @@ -46,18 +46,19 @@ jobs:
uses: codecov/codecov-action@v3
if: always()
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./
flags: unittests,${{ matrix.python-version }}
flags: ${{ matrix.python-version }}
name: Python-${{ matrix.python-version }}
fail_ci_if_error: true
fail_ci_if_error: false

flake8:
runs-on: ubuntu-latest
container:
image: python:3.6
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup flake8 annotations
uses: rbialon/flake8-annotations@v1
Expand All @@ -74,7 +75,7 @@ jobs:
image: python:3.6
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install
run: pip install -e .[dev]
Expand All @@ -88,7 +89,7 @@ jobs:
image: python:3.6
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install
run: pip install -e .[dev]
Expand All @@ -103,7 +104,7 @@ jobs:
image: python:3.6
steps:
- name: Checkout (current)
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: current

Expand Down Expand Up @@ -144,7 +145,7 @@ jobs:
image: python:3.6
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install
run: pip install -e .[dev]
Expand All @@ -159,7 +160,7 @@ jobs:
image: python:3.6
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install
run: pip install -e .[dev]
Expand Down

0 comments on commit 63ae6cc

Please sign in to comment.