Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating build workflow #132

Merged
merged 1 commit into from
Jan 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading