Skip to content

Commit

Permalink
fix misnamed dependency, reorganize
Browse files Browse the repository at this point in the history
  • Loading branch information
mathemancer committed Oct 25, 2023
1 parent cfcaf2f commit b5806d4
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/backend-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,6 @@ jobs:
with:
files: '**.sql'

vulture:
runs-on: ubuntu-latest
name: Find unused code
if: needs.python_lint_required_check.outputs.any_changed == 'true'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- name: Install Vulture
run: pip3 install vulture
- name: Run Vulture
run: vulture .

python_tests:
name: Run Python tests
runs-on: ubuntu-latest
Expand Down Expand Up @@ -111,7 +99,7 @@ jobs:
python_lint:
name: Run Python linter
runs-on: ubuntu-latest
needs: flake8_required_check
needs: python_lint_required_check
if: needs.python_lint_required_check.outputs.any_changed == 'true'
steps:
- uses: actions/checkout@v4
Expand All @@ -125,6 +113,19 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

vulture:
name: Find unused code
runs-on: ubuntu-latest
needs: python_lint_required_check
if: needs.python_lint_required_check.outputs.any_changed == 'true'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- name: Install Vulture
run: pip3 install vulture
- name: Run Vulture
run: vulture .

tests:
runs-on: ubuntu-latest
needs: [python_tests, sql_tests]
Expand Down

0 comments on commit b5806d4

Please sign in to comment.