Skip to content

Commit

Permalink
try everything (but windows)
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Papior <[email protected]>
  • Loading branch information
zerothi committed Sep 21, 2023
1 parent dc8e8ba commit 3689c50
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# If one of the jobs fails, continue with the others.
fail-fast: false
matrix:
os: [windows-latest, macos-11, ubuntu-latest]
os: [macos-11, ubuntu-latest]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -59,6 +59,9 @@ jobs:
if: runner.os == 'Windows'
uses: pypa/[email protected]
env:
# when building with windows the Cython generated sources lacks linking
# against -lpythonX.Y, I don't know why, or how to bypass this problem.
# Nothing apparent on the web... :(
CMAKE_GENERATOR: MinGW Makefiles
PIP_NO_CLEAN: "yes"

Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -298,13 +298,13 @@ extend_skip = ["src/sisl/__init__.py"]
build-verbosity = 3
test-extras = "test"

# placeholder for quicker tests
build = ["cp38-*"]
skip = [
"pp*",
"cp312-*",
]

# The netCDF package does not have a wheel for 312 (yet!)
test-skip = "cp312-*"

# Instead of running pytest directly, we use a bash script that will set up
# the appropiate value for the SISL_FILES_TEST variable, a path pointing to
# the sisl-files directory, which contains files for testing.
Expand All @@ -324,7 +324,6 @@ archs = [
"AMD64",
"x86",
]
before-build = "pip install mingwpy"

test-command = "pytest --pyargs sisl -m 'not slow'"

Expand Down

0 comments on commit 3689c50

Please sign in to comment.