Add workflow to run tests with pixi #6
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: Run tests with pixi | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
pixi-test: | |
name: '[pixi:${{ matrix.os }}]' | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ | |
ubuntu-22.04, | |
macos-latest, | |
# Disabled until https://github.com/robotology/gz-sim-yarp-plugins/issues/205 is fixed | |
# windows-2019 | |
] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up pixi | |
uses: prefix-dev/[email protected] | |
with: | |
run-install: true | |
cache: false | |
- name: Print pixi info | |
run: pixi info | |
- name: Run tests | |
run: pixi run test |