Skip to content

Commit

Permalink
Run GHA tests with Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
timmens committed Nov 11, 2024
1 parent 0cac064 commit bc3baf4
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,23 @@ jobs:
- '3.10'
- '3.11'
- '3.12'
- '3.13'
steps:
- uses: actions/checkout@v4
- name: create build environment
- name: Create environment file without cyipopt for Python 3.13
if: matrix.python-version == '3.13'
run: |
grep -v 'cyipopt' ./.tools/envs/testenv-linux.yml > ./.tools/envs/no-cyipopt.yml
- name: create build environment on Python 3.13
if: matrix.python-version == '3.13'
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ./.tools/envs/testenv-linux-no-cyipopt.yml'
cache-environment: true
create-args: |
python=3.13
- name: create build environment on Python < 3.13
if: matrix.python-version != '3.13'
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ./.tools/envs/testenv-linux.yml
Expand Down

0 comments on commit bc3baf4

Please sign in to comment.