Skip to content
Open
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
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,28 @@ on:
branches:
- dev
pull_request:
workflow_dispatch:

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This allows you to manually run a CI build without needing to make pointless white space README changes to trigger it. It was useful in my testing and is mostly harmless but I can remove if you prefer


jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
python-version: ['3.10', '3.11', '3.12']
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
defaults:
run:
shell: bash


steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
# We need the full history to generate the proper version number
fetch-depth: 0

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- uses: Gr1N/setup-poetry@v9
Expand All @@ -40,7 +41,7 @@ jobs:
poetry install --extras "test"

- name: Cache data directories
uses: actions/cache@v4
uses: actions/cache@v6
# We only download data on this runner, so only cache data from this run
# so we don't get an empty cache on other runners overriding that data
if: ${{ contains(matrix.os, 'ubuntu') && matrix.python-version == '3.10' }}
Expand Down
Loading
Loading