Skip to content

Commit

Permalink
build: update supported python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rfverbruggen committed Dec 30, 2023
1 parent cd366d8 commit 7d0e46c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Set up Python 3.8
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -24,4 +24,4 @@ jobs:
- name: Run flake8
run: flake8
- name: Run pydocstyle
run: pydocstyle {posargs:rachiopy tests}
run: pydocstyle {posargs:rachiopy tests}
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- name: Set up Python 3.8
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- name: Set up Python 3.8
- name: Set up Python 3.x
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
Expand All @@ -28,4 +28,4 @@ jobs:
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.test_pypi_password }}
repository_url: https://test.pypi.org/legacy/
repository_url: https://test.pypi.org/legacy/
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.8, 3.9, 3.10, 3.11, 3.12]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand All @@ -24,4 +24,4 @@ jobs:
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f requirements_test.txt ]; then pip install -r requirements_test.txt; fi
- name: Run unittests
run: python -m unittest discover -v tests
run: python -m unittest discover -v tests
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = clean, py36, py37, py38, py39, pylint, flake8, pydocstyle, stats
envlist = clean, py{38,39,310,311,312}, pylint, flake8, pydocstyle, stats
ignore_basepython_conflict = true

[testenv:clean]
Expand Down

0 comments on commit 7d0e46c

Please sign in to comment.