Merge pull request #573 from iKostanOrg/kyu8 #385
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 }} | |
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 }} |