Skip to content

Commit

Permalink
fix syntax to interpret versioned package as single argument
Browse files Browse the repository at this point in the history
  • Loading branch information
phycodurus committed Jan 9, 2025
1 parent 6ecbd15 commit 6d0021d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry>=2.0,<3.0
python -m pip install "poetry>=2.0,<3.0"
poetry install --with test
- name: Run tests
run: poetry run python manage.py test --exclude-tag=canary
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry>=2.0,<3.0
python -m pip install "poetry>=2.0,<3.0"
poetry config virtualenvs.create false # tell poetry not to create a new virtual environment
poetry self add "poetry-dynamic-versioning[plugin]"
- name: Build package with poetry
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-canary-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry>=2.0,<3.0
python -m pip install "poetry>=2.0,<3.0"
poetry install --with test
- name: Run Canary Tests
run: poetry run python manage.py test --tag=canary
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry>=2.0,<3.0
python -m pip install "poetry>=2.0,<3.0"
poetry install --with lint
- name: Style Checks
run: poetry run flake8 tom_* --exclude=*/migrations/* --max-line-length=120
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry>=2.0,<3.0
python -m pip install "poetry>=2.0,<3.0"
poetry env info # display poetry's env info for debugging
poetry install --with test,coverage,lint
- name: Run Tests
Expand All @@ -49,7 +49,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry>=2.0,<3.0
python -m pip install "poetry>=2.0,<3.0"
poetry install --with test,coverage,lint
- name: Run Tests
run: poetry run coverage run --include=tom_* manage.py test --exclude-tag=canary
Expand Down

0 comments on commit 6d0021d

Please sign in to comment.