-
Notifications
You must be signed in to change notification settings - Fork 41
57 lines (47 loc) · 1.34 KB
/
mac_test.yml
File metadata and controls
57 lines (47 loc) · 1.34 KB
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
54
55
56
57
name: self-test on MacOS only
on:
# Runs on pushes targeting the default branch
push:
# branches-ignore:
# - master
branches: ['pixi-fix']
# pull_request:
# branches: ['main']
# 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']
env: ['py313']
runs-on: ${{ matrix.os.name }}
steps:
# checkout repo
- uses: actions/checkout@v2
# set up pixi
- uses: prefix-dev/setup-pixi@v0.8.1
with:
environments: ${{ matrix.env }}
#pixi-version: v0.39.5
manifest-path: pixi/pixi.toml
# run pixi command
- name: update
run: pixi help
# 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 }}
run:
pixi run --manifest-path pixi/pixi.toml -e ${{ matrix.env }} install
- name: test
run: pixi run --manifest-path pixi/pixi.toml -e ${{ matrix.env }} test