-
Notifications
You must be signed in to change notification settings - Fork 13
39 lines (38 loc) · 920 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
39
---
name: tox
on:
push:
branches: # any integration branch but not tag
- main
pull_request:
branches:
- main
jobs:
test:
# tests reusable tox workflow
uses: ./.github/workflows/tox.yml
with:
default_python: "3.10"
jobs_producing_coverage: 6
max_python: "3.13"
min_python: "3.10"
run_post: echo 'Running post'
run_pre: echo 'Running pre'
other_names: |
docs
lint
node-version-file: .tool-versions
check: # This job does nothing and is only used for the branch protection
if: always()
needs:
- test
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
push:
if: github.event_name == 'push'
uses: ./.github/workflows/push.yml
secrets: inherit