Skip to content

Commit 8725ff2

Browse files
authored
Merge pull request #2 from lucascolley/build
BLD: set up uv-build and pixi-build
2 parents b264406 + 001c686 commit 8725ff2

6 files changed

Lines changed: 1720 additions & 2105 deletions

File tree

.github/workflows/CI.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: CI
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
workflow_dispatch:
8+
pull_request:
9+
push:
10+
branches:
11+
- main
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
17+
env:
18+
# Many color libraries just need this to be set to any value, but at least
19+
# one distinguishes color depth, where "3" -> "256-bit color".
20+
FORCE_COLOR: 3
21+
22+
jobs:
23+
lint:
24+
name: Lint
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
28+
with:
29+
fetch-depth: 0
30+
31+
- uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
32+
with:
33+
pixi-version: v0.65.0
34+
cache: true
35+
environments: lint
36+
37+
- name: Lint
38+
run: pixi run lint
39+
40+
checks:
41+
name: Test
42+
runs-on: ubuntu-latest
43+
strategy:
44+
fail-fast: false
45+
46+
steps:
47+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
48+
with:
49+
fetch-depth: 0
50+
51+
- uses: prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
52+
with:
53+
pixi-version: v0.65.0
54+
cache: true
55+
environments: test
56+
57+
- name: Test package
58+
run: pixi run tests

0 commit comments

Comments
 (0)