Skip to content

Commit

Permalink
Add linter
Browse files Browse the repository at this point in the history
  • Loading branch information
george42-ctds committed Jan 9, 2025
1 parent e47ae04 commit a129a96
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,24 @@ jobs:
with:
python-version: '3.9'
use-cache: true
# this creates linter settings and uploads to an artifact so the configs can be pulled and used across jobs
LintConfig:
name: Get Lint Config
uses: uc-cdis/.github/.github/workflows/lint-create-config.yaml@master
with:
python-module-name: "gen3Dictionary"
RequiredLint:
name: Run Required Linters
needs: [ LintConfig ]
uses: uc-cdis/.github/.github/workflows/required_lint_check.yaml@master
with:
python-version: '3.9'
use-cache: true
InformationalLint:
name: Run Informational Linters
needs: [ LintConfig ] #TODO Add UnitTest
if: github.ref != 'refs/heads/main'
uses: uc-cdis/.github/.github/workflows/optional_lint_check.yaml@master
with:
python-version: '3.9'
use-cache: true

0 comments on commit a129a96

Please sign in to comment.