-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (42 loc) · 978 Bytes
/
run_tests.yaml
File metadata and controls
53 lines (42 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: ArgMojo Unit Tests
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
pull-requests: read
jobs:
testing-argmojo:
name: Test with ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-22.04", "macos-latest"]
runs-on: ${{ matrix.os }}
timeout-minutes: 15
defaults:
run:
shell: bash
env:
DEBIAN_FRONTEND: noninteractive
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install pixi
run: |
curl -fsSL https://pixi.sh/install.sh | sh
- name: Add pixi to PATH
run: |
echo "PIXI_HOME=$HOME/.pixi" >> $GITHUB_ENV
echo "$HOME/.pixi/bin" >> $GITHUB_PATH
- name: Pixi install
run: |
pixi install
- name: Build package
run: |
pixi run package
- name: Run tests
run: |
pixi run test