Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 7 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
workflow_dispatch:

jobs:
release:
Expand All @@ -17,14 +18,14 @@ jobs:
with:
release-type: python

- uses: actions/checkout@v3
- uses: actions/checkout@v6
if: ${{ steps.release.outputs.release_created }}
with:
fetch-depth: 2

- name: Set up Python
if: ${{ steps.release.outputs.release_created }}
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: '3.10' # keep synced with dev-env.yml

Expand All @@ -37,7 +38,7 @@ jobs:
- name: Install Poetry
if: ${{ steps.release.outputs.release_created }}
run: |
pip install 'poetry==2.1.0' # keep version synced with dev-env.yml
pip install 'poetry==2.2.1' # keep version synced with dev-env.yml
poetry --version

- name: Bump version for developmental release
Expand Down Expand Up @@ -74,9 +75,10 @@ jobs:
path: dist

- name: Publish package on TestPyPI
uses: pypa/[email protected]
uses: pypa/gh-action-pypi-publish@release/v1
if: github.ref != 'refs/heads/main'
with:
repository-url: https://test.pypi.org/legacy/

- name: Publish package on PyPI
uses: pypa/gh-action-pypi-publish@v1.8.14
uses: pypa/gh-action-pypi-publish@release/v1
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [pull_request, workflow_call]

jobs:
tests:
name: ${{ matrix.session }} ${{ matrix.python }} / ${{ matrix.os }}
name: ${{ matrix.session }}${{ matrix.session == 'tests' && format(' {0}', matrix.python) || '' }} / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -16,8 +16,9 @@ jobs:
- { python: "3.11", os: "ubuntu-latest", session: "tests" }
- { python: "3.12", os: "ubuntu-latest", session: "tests" }
- { python: "3.13", os: "ubuntu-latest", session: "tests" }
- { python: "3.14", os: "ubuntu-latest", session: "tests" }
# - { python: "3.11", os: "windows-latest", session: "tests" }
- { python: "3.10", os: "macos-13", session: "tests" }
- { python: "3.10", os: "macos-15-intel", session: "tests" }
- { python: "3.10", os: "macos-latest", session: "tests" }
- { python: "3.10", os: "ubuntu-latest", session: "size" }

Expand Down
16 changes: 8 additions & 8 deletions dev-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ channels:
- bioconda
- nodefaults
dependencies:
- conda-forge::python=3.10 # the lowest version of python that we formally support; keep in sync with pyproject.toml, release.yml, .readthedocs.yaml, and noxfile.py
- conda-forge::pip==24.3.1
- conda-forge::poetry==2.1.0 # should keep this in sync with version in release.yml
- conda-forge::nox==2024.10.9
- conda-forge::python=3.10 # the lowest version of python that we formally support; keep in sync with release.yml, tests.yml, .readthedocs.yaml, and noxfile.py
- conda-forge::pip==25.2
- aryarm::gbz-base==0.2.0
- conda-forge::poetry==2.2.1 # should keep this in sync with version in release.yml
- conda-forge::nox==2025.5.1
- conda-forge::poetry-conda==0.1.4
- conda-forge::poetry-plugin-export==1.9.0
- aryarm::gbz-base==0.1.0
- pip:
- nox-poetry==1.1.0
- poetry-conda==0.1.4
- poetry-plugin-shell==1.0.1
- nox-poetry==1.2.0
- poetry-plugin-shell==1.0.1
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from nox_poetry import session

package = "panct"
python_versions = ["3.10", "3.11", "3.12", "3.13"]
python_versions = ["3.10", "3.11", "3.12", "3.13", "3.14"]
locked_python_version = "3.10" # keep in sync with dev-env.yml
nox.needs_version = ">= 2022.11.21"
nox.options.sessions = (
Expand Down
Loading
Loading