Skip to content
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
22 changes: 7 additions & 15 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@ on:
schedule:
- cron: "14 14 20 * *"

# Use bash by default in all jobs
defaults:
run:
# Using "-l {0}" is necessary for conda environments to be activated
# But this breaks on MacOS if using actions/setup-python:
# https://github.com/actions/setup-python/issues/132
shell: bash

# Cancel any previous run of the test job.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -34,20 +26,20 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu, ] # macos, windows] # Only Linux currently.
python-version: ["3.10", "3.11", "3.12", "3.13"]
python-version: ["3.11", "3.12", "3.13", "3.14"]

steps:

# Checks-out your repository under $GITHUB_WORKSPACE
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6.0.1
with:
# The GitHub token is preserved by default but this job doesn't need
# to be able to push to GitHub.
persist-credentials: false

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6.1.0
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -72,16 +64,16 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6.0.1
with:
# The GitHub token is preserved by default but this job doesn't need
# to be able to push to GitHub.
persist-credentials: false

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6.1.0
with:
python-version: "3.12"
python-version: "3.13"

- name: Install dependencies
run: |
Expand All @@ -101,7 +93,7 @@ jobs:
- name: Publish to PyPI
# Only for releases
if: success() && github.event_name == 'release'
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@v1.13.0
with:
user: __token__
password: ${{ secrets.PYPI_PASSWORD }}