-
Notifications
You must be signed in to change notification settings - Fork 4
38 lines (36 loc) · 973 Bytes
/
test.yml
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
name: Test
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]"
pull_request:
types:
- opened
- synchronize
- reopened
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
environment: ["python-39", "python-310", "python-311", "python-312", "python-313"]
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
steps:
- name: checkout
uses: actions/checkout@v3
with: { submodules: recursive }
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.39.5
- name: doctest
shell: pixi run bash -e {0}
run: pixi run -e ${{ matrix.environment }} doctest
- name: test building packages
shell: pixi run bash -e {0}
run: pixi run -e dev convert
- name: validate packages
shell: pixi run bash -e {0}
run: pixi run -e dev validate