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
20 changes: 7 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Tests

on:
push:
branches:
- master
branches:
- main
pull_request:
branches:
- "*"
- "*"

defaults:
run:
Expand All @@ -19,24 +19,18 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
py_ver: ["3.10", "3.11", "3.12"]
py_ver: ["3.10", "3.11", "3.12", "3.13"]
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.py_ver }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: mamba-org/setup-micromamba@v2
with:
####
# https://github.com/mamba-org/setup-micromamba/issues/225
micromamba-version: 1.5.10-0
micromamba-binary-path: /home/runner/micromamba-bin-versioned/micromamba
####
micromamba-version: "2.5.0-1"
environment-file: environment.yaml
# Added an extra python to the create-args in order to bust the cache:
create-args: >-
python=${{ matrix.py_ver }}
python
cache-environment: true
- name: Install conda-recipe-manager if possible
# Possible when the Python version is >=3.11
Expand Down Expand Up @@ -85,7 +79,7 @@ jobs:
run: |
pytest tests \
-vv \
-n 0 \
-n auto \
-m "not serial" \
--color=yes \
--cov=./ \
Expand Down
Loading
Loading