-
Notifications
You must be signed in to change notification settings - Fork 6
49 lines (47 loc) · 1.39 KB
/
lint_test_build_pipeline.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
---
name: Main Build Pipeline
on: # yamllint disable-line rule:truthy
push:
branches:
- master
jobs:
markdown:
name: Markdown Lint
uses: iKostanOrg/codewars/.github/workflows/markdown_lint.yml@master
pylint:
name: Py Lint
uses: iKostanOrg/codewars/.github/workflows/pylint.yml@master
mypy:
name: MyPy Lint
uses: iKostanOrg/codewars/.github/workflows/mypy.yml@master
flake8:
name: Flake8 Lint
uses: iKostanOrg/codewars/.github/workflows/flake8.yml@master
yamllint:
name: YAML Lint
uses: iKostanOrg/codewars/.github/workflows/yamllint.yml@master
pytest:
name: Unitest with pytest
needs:
- flake8
- pylint
- markdown
- mypy
- yamllint
uses: iKostanOrg/codewars/.github/workflows/pytest.yml@master
codecov:
name: Codecov GitHub Action
needs:
- pytest
uses: iKostanOrg/codewars/.github/workflows/codecov.yml@master
# Why is Codecov upload step in GitHub Actions not finding the token?
# https://stackoverflow.com/questions/78298827/why-is-codecov-upload-step-in-github-actions-not-finding-the-token
secrets:
codecov_token: ${{ secrets.CODECOV_TOKEN }}
codeclimate:
name: Codeclimate Github Action
needs:
- pytest
uses: iKostanOrg/codewars/.github/workflows/codeclimate_coverage.yml@master
secrets:
cc_test_reporter_id: ${{ secrets.CC_TEST_REPORTER_ID }}