Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI for windows #7

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu, windows, macos]
python-version: ['3.9', '3.10', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12']
exclude:
- os: windows
python-version: pypy3
Expand All @@ -36,6 +36,9 @@ jobs:
restore-keys: |
${{ runner.os }}-pip-${{ matrix.python-version }}-
${{ runner.os }}-pip-
- if: ${{ matrix.os == 'windows' }}
run: |
poetry config installer.max-workers 1
- run: tox
- if: ${{ matrix.os == 'ubuntu' && matrix.python-version == '3.8' }}
run: |
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ flask = ">2"
[tool.poetry.dev-dependencies]
abilian-devtools = ">0.5"
devtools = ">0.12"
honcho = ">1.1"
pyanalyze = ">0.11"
honcho = ">=1.1"
pyanalyze = ">=0.11"
pytest = ">7"

[tool.isort]
Expand Down
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ setenv =
LC_ALL=en_US.UTF-8

allowlist_externals =
make
poetry

commands_pre =
Expand All @@ -24,6 +23,11 @@ commands =
basepython =
python3

allowlist_externals =
poetry
make
safety

commands =
make lint
safety check
Loading