Skip to content

Commit

Permalink
(fix) flake8 file
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Alexandre35 committed Oct 28, 2024
1 parent ef0e6ba commit 17a1e60
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
- name: Lint
run: npm run lint

backend:
name: Backend Lint & Test
setup:
name: Backend Environment Setup
runs-on: ubuntu-latest
defaults:
run:
Expand Down Expand Up @@ -77,6 +77,25 @@ jobs:
VIRTUAL_ENV: ${{ steps.poetry_env.outputs.stdout }}
PATH: ${{ steps.poetry_env.outputs.stdout }}/bin:$PATH

backend:
name: Backend Lint & Test
runs-on: ubuntu-latest
needs: setup
defaults:
run:
working-directory: travian/backend
steps:
- name: Checkout Code
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Set Poetry Environment Path
run: echo "${HOME}/.local/bin" >> $GITHUB_PATH

- name: Lint
run: poetry run flake8 --exclude .venv

Expand Down

0 comments on commit 17a1e60

Please sign in to comment.