Bump prefix-dev/setup-pixi in the dependencies group (#134) #149
This file contains hidden or 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: Unit Tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- edited | |
- opened | |
- reopened | |
- synchronize | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
defaults: | |
run: | |
shell: bash -leo pipefail {0} | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source files | |
uses: actions/checkout@v4 | |
- name: Setup Pixi | |
uses: prefix-dev/[email protected] | |
- name: Run unit tests | |
run: pixi run test | |
type-analysis: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source files | |
uses: actions/checkout@v4 | |
- name: Setup Pixi | |
uses: prefix-dev/[email protected] | |
- name: Run static type analysis | |
run: pixi run mypy | |
validate-installation: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source files | |
uses: actions/checkout@v4 | |
- name: Setup Pixi | |
uses: prefix-dev/[email protected] | |
- name: Validate "prod" installation | |
run: bin/build.sh |