Skip to content

Commit

Permalink
Add variables to project folders in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sin-diesel committed Oct 26, 2024
1 parent 443c46b commit e73f982
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
pull_request:
branches: [ "master" ]

env:
PROJECT_SRC_REL: "src/algobench"
PROJECT_SETUP: "setup.py"

permissions:
contents: read

Expand All @@ -32,6 +36,6 @@ jobs:
- name: Lint
run: |
black src/algobench/ setup.py --check
flake8 src/algobench/ setup.py .
black $PROJECT_SRC_REL $PROJECT_SETUP --check
flake8 $PROJECT_SRC_REL $PROJECT_SETUP .

0 comments on commit e73f982

Please sign in to comment.