Skip to content

CI: test windows

CI: test windows #13

Workflow file for this run

name: Tests
on: [ push, pull_request ]
permissions:
contents: read # to fetch code (actions/checkout)
env:
CCACHE_DIR: "${{ github.workspace }}/.ccache"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
tests:
name: ${{ matrix.environment }} ${{ matrix.runs-on }}
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
environment: [tests-ci]
runs-on: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: prefix-dev/setup-pixi@92815284c57faa15cd896c4d5cfb2d59f32dc43d # v0.8.3
with:
pixi-version: v0.45.0
cache: true
environments: ${{ matrix.environment }}
- name: Build xsf
run: pixi run --environment=tests-ci build-tests-ci
- name: Run tests
run: pixi run --skip-deps --environment=tests-ci tests-ci
- name: Generate converage
run: pixi run --skip-deps --environment=tests-ci coverage
- name: Upload HTML coverage report
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: cov-html-${{ matrix.runs-on }}
path: build/coverage_report/**