Skip to content

Set log stacklevel to pshell's caller #112

Set log stacklevel to pshell's caller

Set log stacklevel to pshell's caller #112

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: ["*"]
workflow_dispatch: # allows you to trigger manually
# When this workflow is queued, automatically cancel any previous running
# or pending jobs from the same branch
concurrency:
group: pytest-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash -l {0}
jobs:
test:
name: ${{ matrix.os }} ${{ matrix.environment }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest # x86-64
- ubuntu-24.04-arm # ARM
- macos-15-intel # x86-64
- macos-latest # ARM
- windows-latest # x86-64
environment:
- smoke
- mindeps
- py310
- py314
include:
- os: ubuntu-latest
environment: nogil
steps:
- name: Checkout
uses: actions/checkout@v6
- uses: prefix-dev/setup-pixi@v0
with:
pixi-version: v0.62.2
environments: ${{ matrix.environment }}
cache: true
locked: true
- name: Smoke test
run: pixi run -e ${{ matrix.environment }} smoke-test
- name: pytest with coverage
if: matrix.environment != 'smoke'
run: pixi run -e ${{ matrix.environment }} coverage
- name: Free-threading stress test
if: matrix.environment == 'nogil'
run: pixi run -e nogil tests --parallel-threads=4
- name: codecov.io
if: matrix.environment != 'smoke'
uses: codecov/codecov-action@v5