Merge pull request #78 from ioos/dependabot/github_actions/github-act… #160
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
# no permissions by default | |
permissions: {} | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
run: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
pixi-environment: [ py310, py311, py312, py313 ] | |
os: [ windows-latest, ubuntu-latest, macos-latest ] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup Pixi | |
uses: prefix-dev/setup-pixi@8ca4608ef7f4daeb54f5205b20d0b7cb42f11143 # v0.8.14 | |
with: | |
manifest-path: pyproject.toml | |
- name: Run Tests | |
run: pixi run --environment ${{ matrix.pixi-environment }} test |