-
Notifications
You must be signed in to change notification settings - Fork 16
42 lines (35 loc) · 955 Bytes
/
on_master.yaml
File metadata and controls
42 lines (35 loc) · 955 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
37
38
39
40
41
42
name: CI (master)
on:
# Runs on every push to the master branch.
push:
branches:
- master
tags-ignore:
- "**" # Ignore all tags to avoid duplicate executions triggered by tag pushes.
jobs:
doc_checks:
name: Doc checks
uses: ./.github/workflows/_check_docs.yaml
secrets: inherit
code_checks:
name: Code checks
uses: ./.github/workflows/_check_code.yaml
docstrings_checks:
name: Docstrings checks
uses: ./.github/workflows/_check_docstrings.yaml
tests:
name: Tests
uses: ./.github/workflows/_tests.yaml
secrets: inherit
pre_release:
name: Pre-release
needs: [code_checks, tests]
uses: ./.github/workflows/_release_pre.yaml
secrets: inherit
release_docs:
name: Doc release
needs: [doc_checks, pre_release]
uses: ./.github/workflows/_release_docs.yaml
with:
ref: ${{ needs.pre_release.outputs.changelog_commitish }}
secrets: inherit