Skip to content

Commit

Permalink
ci: Updates python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ntlhui committed Aug 21, 2024
1 parent 20a43ba commit 5290caf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -18,10 +18,10 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependences
run: |
python -m pip install .[dev]
python -m pip install --upgrade pip poetry
- name: Build
run: |
python setup.py bdist_wheel
poetry build
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -16,8 +16,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip pylint pytest
pip install .
python -m pip install --upgrade pip poetry
poetry install
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
6 changes: 3 additions & 3 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -16,8 +16,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip pytest coverage
python -m pip install .
python -m pip install --upgrade pip poetry
poetry install
- name: Test
run: |
coverage run --branch -m pytest tests/
Expand Down

0 comments on commit 5290caf

Please sign in to comment.