-
Notifications
You must be signed in to change notification settings - Fork 6
67 lines (65 loc) · 1.86 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
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
pydocstyle:
name: PYDOCSTYLE Lint
uses: iKostanOrg/codewars/.github/workflows/pydocstyle.yml@master
pytest:
name: Unitest with pytest
needs:
- flake8
- pylint
- markdown
- mypy
- yamllint
- pydocstyle
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 }}
codeql:
name: CodeQL for a new build
needs:
- codecov
- codeclimate
uses: ikostan/pico/.github/workflows/codeql.yml@master
snyk:
name: Snyk for a new build
needs:
- codecov
- codeclimate
uses: ikostan/pico/.github/workflows/snyk.yml@master
secrets:
snyk_token: ${{ secrets.SNYK_TOKEN }}