Skip to content

Commit

Permalink
Merge pull request #22 from nichmor/ci/test-multiple-python-versions
Browse files Browse the repository at this point in the history
ci: Test against multiple Python versions
  • Loading branch information
baszalmstra authored Jul 18, 2024
2 parents 3289685 + 0601bbb commit 8cc4a88
Show file tree
Hide file tree
Showing 5 changed files with 13,427 additions and 5,256 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/build.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Tests
on:
push:
branches: [ "main" ]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
run_tests:
name: ${{ matrix.pixi-environment }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
pixi-environment:
- py312
- py311
- py310
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/[email protected]
with:
pixi-version: "latest"
environments: ${{ matrix.pixi-environment }}
- name: run tests
run: |
pixi run --environment ${{ matrix.pixi-environment }} tests
2 changes: 1 addition & 1 deletion .github/workflows/type-check.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# name: Run updater that will check for conda-forge packages
name: Type Check
on:
push:
branches: [ "main" ]
Expand Down
Loading

0 comments on commit 8cc4a88

Please sign in to comment.