Skip to content

Commit

Permalink
Refactor GitHub Actions workflow
Browse files Browse the repository at this point in the history
Description: This commit refactors the GitHub Actions workflow by organizing the steps and adding the `-C backend/app` flag to the `black` and `flake8` checks. It also updates the `test` step by installing `just` using `sudo snap install` and adds the `verbose` flag to the `codecov-action` step.
  • Loading branch information
AndPuQing committed Jan 28, 2024
1 parent a6ede92 commit febd8ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
env:
POETRY_VIRTUALENVS_CREATE: false
- name: Run black check
run: poetry run black --check .
run: poetry run -C backend/app black --check .
flake8:
runs-on: ubuntu-latest
steps:
Expand All @@ -30,7 +30,7 @@ jobs:
env:
POETRY_VIRTUALENVS_CREATE: false
- name: Run flake8 check
run: poetry run flake8 --count .
run: poetry run -C backend/app flake8 --count .

test:
runs-on: ubuntu-latest
Expand Down

0 comments on commit febd8ca

Please sign in to comment.