Skip to content

Commit 7a34a7e

Browse files
committed
CI: add job to smoke-test building and installing
1 parent c982af9 commit 7a34a7e

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/workflows/smoke_test.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: smoke test
2+
3+
on:
4+
# Runs on pushes targeting the default branch
5+
push:
6+
branches: ['develop']
7+
pull_requests:
8+
branches: ['develop']
9+
10+
# Allows you to run this workflow manually from the Actions tab
11+
workflow_dispatch:
12+
13+
14+
# Default to bash
15+
defaults:
16+
run:
17+
shell: bash
18+
19+
20+
jobs:
21+
build:
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
os:
26+
- name: 'ubuntu-22.04'
27+
- name: 'macos-latest'
28+
- name: 'windows-latest'
29+
cmd_extra: '-win'
30+
env: ['py310', 'py311', 'py312', 'py313']
31+
runs-on: ${{ matrix.os.name }}
32+
steps:
33+
# checkout repo
34+
- uses: actions/checkout@v2
35+
36+
# set up pixi
37+
- uses: prefix-dev/[email protected]
38+
with:
39+
environments: ['py310', 'py311', 'py312', 'py313']
40+
pixi-version: v0.39.5
41+
42+
# run install to see if it works
43+
- name: Build
44+
run: pixi run --manifest-path pixi/pixi.toml -e ${{ matrix.env }} install${{ matrix.os.cmd_extra }}

0 commit comments

Comments
 (0)