Skip to content

Update pixi lockfile (examples/simple-python/pixi.lock) #835

Update pixi lockfile (examples/simple-python/pixi.lock)

Update pixi lockfile (examples/simple-python/pixi.lock) #835

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
# Automatically stop old builds on the same branch/PR
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: read-all
jobs:
pre-commit-checks:
name: Pre-commit Checks
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Set up pixi
uses: prefix-dev/setup-pixi@82d477f15f3a381dbcc8adc1206ce643fe110fb7 # v0.9.3
with:
environments: default lint
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
key: pre-commit
- name: pre-commit
run: pixi run pre-commit-run --color=always --show-diff-on-failure
# Checks for duplicate version of package
cargo-vendor:
name: Cargo Vendor
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Set up pixi
uses: prefix-dev/setup-pixi@82d477f15f3a381dbcc8adc1206ce643fe110fb7 # v0.9.3
with:
activate-environment: true
- name: Test cargo vendor
run: cargo vendor --locked
unit-tests:
name: test
timeout-minutes: 30
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- ubuntu-24.04-arm
- windows-latest
# wait for win-arm64 packages to be available
# https://github.com/conda-forge/conda-forge.github.io/issues/1940
# - windows-11-arm
- macos-latest
steps:
- name: Checkout branch
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Set up pixi
uses: prefix-dev/setup-pixi@82d477f15f3a381dbcc8adc1206ce643fe110fb7 # v0.9.3
with:
activate-environment: true
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
with:
key: tests
- name: Run test
run: pixi run test --color always${{ startsWith(matrix.os, 'ubuntu') && ' --no-default-features --features rustls-tls' || '' }}