-
Notifications
You must be signed in to change notification settings - Fork 3
38 lines (35 loc) · 843 Bytes
/
ci.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: ci
# yamllint disable-line rule:truthy
on:
push:
pull_request:
concurrency:
group: ci-${{github.ref}}-${{github.event.pull_request.number || github.run_number}}
cancel-in-progress: true
jobs:
prechecks:
uses: ./.github/workflows/pre-commit.yml
separate-zizmor:
uses: ./.github/workflows/zizmor.yml
all-prechecks:
needs: [prechecks, separate-zizmor]
runs-on: ubuntu-latest
steps:
- name: Success
run: "true"
unit-tests:
needs: [all-prechecks]
uses: ./.github/workflows/test_and_package.yml
pixi:
needs: [all-prechecks]
uses: ./.github/workflows/pixi.yml
publish:
needs: [unit-tests, pixi]
uses: ./.github/workflows/publish.yml
all:
needs: [unit-tests, pixi, publish]
runs-on: ubuntu-latest
steps:
- name: Success
run: "true"