Skip to content

Reusable workflows

Reusable workflows #1

---
name: "Lint->Test->Report"
on: # yamllint disable-line rule:truthy
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: "read"
pull-requests: "read"
jobs:
ruff:
name: "Ruff Lint and Format"
uses: "./.github/workflows/ruff.yml"

Check failure on line 17 in .github/workflows/lint_test_report.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint_test_report.yml

Invalid workflow file

error parsing called workflow ".github/workflows/lint_test_report.yml" -> "./.github/workflows/ruff.yml" (source branch with sha:6a010e6986eb2916dafb0f4035f428c3196afbce) : (Line: 7, Col: 5): Unexpected value 'paths'
pylint:
name: "Pylint Workflow"
uses: "./.github/workflows/pylint.yml"
flake8:
name: "Flake8 Workflow"
uses: "./.github/workflows/flake8.yml"
pytest:
name: "Pytest Workflow"
needs:
- "ruff"
- "pylint"
- "flake8"
uses: "./.github/workflows/pytest.yml"
codecov:
name: "Codecov Coverage Report"
needs:
- "pytest"
uses: "./.github/workflows/codecov.yml"
secrets:
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"