stopped failing fast, and added Mac intel os #45
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: Test Gridded with Pixi | |
| on: | |
| push: | |
| # branches: [main] | |
| pull_request: | |
| # branches: [main] | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| # Test against multiple environments (e.g., different Python versions) | |
| matrix: | |
| environment: [test312, test313, test314] | |
| os: [ubuntu-latest, windows-latest, macos-latest, macos-15-intel] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Pixi | |
| uses: prefix-dev/setup-pixi@v0.8.3 | |
| with: | |
| # Specify which environment from your pixi.toml to install | |
| environments: ${{ matrix.environment }} | |
| # Automatically caches the environment based on pixi.lock | |
| cache: true | |
| # cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }} | |
| - name: Run Tests | |
| run: pixi run -e ${{ matrix.environment }} test | |
| # test: | |
| # runs-on: ubuntu-latest | |
| # strategy: | |
| # matrix: | |
| # environment: [py311, py312, py313] | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # - uses: prefix-dev/setup-pixi@v0.9.6 | |
| # with: | |
| # environments: ${{ matrix.environment }} | |
| # - uses: prefix-dev/setup-pixi@v0.9.6 | |
| # with: | |
| # pixi-version: v0.66.0 | |
| # cache: true | |
| # cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }} | |
| # auth-host: prefix.dev | |
| # auth-token: ${{ secrets.PREFIX_DEV_TOKEN }} | |
| # - run: pixi run test | |