-
Notifications
You must be signed in to change notification settings - Fork 8
36 lines (30 loc) · 789 Bytes
/
test.yml
File metadata and controls
36 lines (30 loc) · 789 Bytes
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
name: Test
on:
pull_request:
workflow_dispatch:
workflow_call:
push:
branches:
- master
- staging
- dev
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} # workflow limits it to this workflow, ref includes a pushed branch or on pull request merge branch
cancel-in-progress: true
permissions:
contents: read
jobs:
flake8:
name: Lint (Flake8)
uses: ./.github/workflows/flake8.yml # Call the reusable workflow
secrets: inherit
pyright:
name: Lint (PyRight)
uses: ./.github/workflows/pyright.yml # Call the reusable workflow
secrets: inherit
pytest:
name: Test (Pytest)
uses: ./.github/workflows/pytest.yml # Call the reusable workflow
with:
splits: 1
secrets: inherit