Skip to content

Commit

Permalink
Update git index to assume test-requirements.txt didn't change
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Jun 22, 2023
1 parent ce498ca commit 26493fd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cibuildwheel.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ before-all = [
"apk add --no-cache clang",
]
before-test = [
"sed -i -e '/ruff/d' {project}/mypy/test-requirements.txt",
"pip install -r {project}/mypy/test-requirements.txt",
"cd {project}/mypy",
"sed -i -e '/ruff/d' test-requirements.txt",
"git update-index --assume-unchanged test-requirements.txt",
"pip install -r test-requirements.txt",
"cd ..",
]
environment = { MYPYC_OPT_LEVEL="3", MYPYC_DEBUG_LEVEL="0", CC="clang" }

0 comments on commit 26493fd

Please sign in to comment.