-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #214 from robotology/ci/pixi-test-action
Add workflow to run tests with pixi
- Loading branch information
Showing
3 changed files
with
242 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
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: Install mesa (software only) OpenGL driver | ||
if: contains(matrix.os, 'ubuntu') | ||
shell: bash | ||
run: | | ||
sudo apt-get update | ||
# See https://github.com/robotology/gz-sim-yarp-plugins/pull/214#issuecomment-2387088665 | ||
sudo apt install libegl-mesa0 libgl1-mesa-dri | ||
- 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 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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