Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Commit b7dab1c

Browse files
authored
Merge pull request #666 from iKostanOrg/kyu2
Merge pull request #665 from iKostanOrg/master
2 parents 6bcc771 + 8a3e073 commit b7dab1c

File tree

8 files changed

+78
-1
lines changed

8 files changed

+78
-1
lines changed

.github/workflows/kyu2.yml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
name: Workflow Pipeline for kyu2
3+
4+
on: # yamllint disable-line rule:truthy
5+
push:
6+
branches:
7+
- kyu2
8+
9+
permissions:
10+
contents: read
11+
pull-requests: read
12+
13+
jobs:
14+
pylint:
15+
name: Py Lint
16+
uses: iKostanOrg/codewars/.github/workflows/kyu_2/pylint_kyu2.yml@kyu2
17+
mypy:
18+
name: MyPy Lint
19+
uses: iKostanOrg/codewars/.github/workflows/kyu_2/mypy_kyu2.yml@kyu2
20+
flake8:
21+
name: Flake8 Lint
22+
uses: iKostanOrg/codewars/.github/workflows/kyu_2/flake8_kyu2.yml@kyu2
23+
yamllint:
24+
name: YAML Lint
25+
uses: iKostanOrg/codewars/.github/workflows/kyu_2/yamllint_kyu2.yml@kyu2
26+
pydocstyle:
27+
name: PyDocStyle Lint
28+
uses: iKostanOrg/codewars/.github/workflows/kyu_2/pydocstyle_kyu2.yml@kyu2
29+
pytype_kyu2:
30+
name: PyType Lint (kyu2)
31+
needs:
32+
- flake8
33+
- pylint
34+
- mypy
35+
- yamllint
36+
- pydocstyle
37+
uses: iKostanOrg/codewars/.github/workflows/kyu_2/pytype_kyu2.yml@kyu2
38+
pytest:
39+
name: Unitest with pytest
40+
needs:
41+
- pytype_kyu2
42+
uses: iKostanOrg/codewars/.github/workflows/kyu_2/pytest_kyu2.yml@kyu2
43+
codacy:
44+
name: Codacy Coverage GitHub Action
45+
needs:
46+
- pytest
47+
uses: iKostanOrg/codewars/.github/workflows/codacy-coverage-reporter.yaml@kyu2
48+
secrets:
49+
codacy_api_token: ${{ secrets.CODACY_API_TOKEN }}
50+
codecov:
51+
name: Codecov Coverage GitHub Action
52+
needs:
53+
- pytest
54+
uses: iKostanOrg/codewars/.github/workflows/codecov.yml@kyu2
55+
# Why is Codecov upload step in GitHub Actions not finding the token?
56+
# https://stackoverflow.com/questions/78298827/why-is-codecov-upload-step-in-github-actions-not-finding-the-token
57+
secrets:
58+
codecov_token: ${{ secrets.CODECOV_TOKEN }}
59+
codeclimate_qlty:
60+
name: QLTY Coverage Github Action
61+
needs:
62+
- pytest
63+
uses: iKostanOrg/codewars/.github/workflows/codeclimate_qlty_coverage.yml@kyu2
64+
secrets:
65+
qlty_coverage_token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
66+
codeclimate:
67+
name: CodeClimate Coverage Github Action
68+
needs:
69+
- pytest
70+
uses: iKostanOrg/codewars/.github/workflows/codeclimate_coverage.yml@kyu2
71+
secrets:
72+
cc_test_reporter_id: ${{ secrets.CC_TEST_REPORTER_ID }}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name: Flake8 for kyu2
33

44
on: # yamllint disable-line rule:truthy
5+
workflow_call:
56
push:
67
branches:
78
- kyu2
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name: MyPy for kyu2
33

44
on: # yamllint disable-line rule:truthy
5+
workflow_call:
56
push:
67
branches:
78
- 'kyu2'

.github/workflows/pydocstyle_kyu2.yml renamed to .github/workflows/kyu_2/pydocstyle_kyu2.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name: pydocstyle for kyu2
33

44
on: # yamllint disable-line rule:truthy
5+
workflow_call:
56
push:
67
branches:
78
- 'kyu2'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name: PyLint for kyu2
33

44
on: # yamllint disable-line rule:truthy
5+
workflow_call:
56
push:
67
branches:
78
- 'kyu2'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
name: Unitest kyu2 with pytest
88

99
on: # yamllint disable-line rule:truthy
10+
workflow_call:
1011
push:
1112
branches:
1213
- kyu2

.github/workflows/lint_test_build_pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- mypy
5555
- yamllint
5656
- pydocstyle
57-
uses: iKostanOrg/codewars/.github/workflows/pytype_kyu2.yml@master
57+
uses: iKostanOrg/codewars/.github/workflows/kyu_2/pytype_kyu2.yml@master
5858
pytype_kyu3:
5959
name: PyType Lint (kyu3)
6060
needs:

0 commit comments

Comments
 (0)