-
Notifications
You must be signed in to change notification settings - Fork 44
67 lines (58 loc) · 1.38 KB
/
conda.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Conda End-to-end Test
on:
push:
branches:
- main
paths-ignore:
- LICENSE
- NOTICE
- README.md
- docs
pull_request:
branches:
- main
paths-ignore:
- LICENSE
- NOTICE
- README.md
- "docs/wiki/**"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: write
checks: write
jobs:
build:
strategy:
matrix:
os:
- ubuntu-22.04
- macos-14
- macos-12
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: '1.5.7-0'
environment-file: conda/dev-environment-unix.yml
init-shell: >-
bash
cache-environment: true
post-cleanup: 'all'
- name: Set up Caches
uses: ./.github/actions/setup-caches
with:
cibuildwheel: 'cp311'
- name: Python Lint Steps
run: make lint
shell: micromamba-shell {0}
- name: Python Build Steps
run: make build-conda
shell: micromamba-shell {0}
- name: Python Test Steps
run: make test
shell: micromamba-shell {0}