Skip to content

Commit

Permalink
fix for ::add-path command in GitHub Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebridges committed May 24, 2024
1 parent 24c04b1 commit 41989d9
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ on:
pull_request:
branches: [ master ]


jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.12']
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- name: Check out the code
uses: actions/checkout@v3
Expand All @@ -24,7 +25,7 @@ jobs:
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "::add-path::${HOME}/.local/bin"
echo "${HOME}/.local/bin" >> $GITHUB_PATH
- name: Cache Poetry dependencies
uses: actions/cache@v3
Expand All @@ -39,7 +40,11 @@ jobs:
- name: Install dependencies
run: poetry install

- name: Run Tests
- name: Run linter
run: |
cd application
python manage.py test
poetry run black --check .
- name: Run Tests
run: |
cd application
python manage.py test

0 comments on commit 41989d9

Please sign in to comment.