CI: add job to smoke-test building and installing #3
Workflow file for this run
This file contains 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: smoke test | ||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches-ignore: | ||
- master | ||
# branches: ['develop'] | ||
pull_request: | ||
branches: ['develop'] | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
# Default to bash | ||
defaults: | ||
run: | ||
shell: bash | ||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- name: 'ubuntu-22.04' | ||
- name: 'macos-latest' | ||
- name: 'windows-latest' | ||
cmd_extra: '-win' | ||
env: ['py310', 'py311', 'py312', 'py313'] | ||
runs-on: ${{ matrix.os.name }} | ||
steps: | ||
# checkout repo | ||
- uses: actions/checkout@v2 | ||
# set up pixi | ||
- uses: prefix-dev/[email protected] | ||
with: | ||
environments: ['py310', 'py311', 'py312', 'py313'] | ||
pixi-version: v0.39.5 | ||
# run install to see if it works | ||
- name: Build | ||
run: pixi run --manifest-path pixi/pixi.toml -e ${{ matrix.env }} install${{ matrix.os.cmd_extra }} |