Skip to content

cleaned up some tests and some lint, and few issues AI identified. #44

cleaned up some tests and some lint, and few issues AI identified.

cleaned up some tests and some lint, and few issues AI identified. #44

Workflow file for this run

name: Test Gridded with Pixi
on:
push:
# branches: [main]
pull_request:
# branches: [main]
jobs:
test:
strategy:
# Test against multiple environments (e.g., different Python versions)
matrix:
environment: [test312, test313, test314]
os: [ubuntu-latest, windows-latest, macos-latest]
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