Skip to content

Commit

Permalink
test on ubuntu
Browse files Browse the repository at this point in the history
pandas fails to install on 32-bit python on 64-bit windows, sometimes
Why do we test on windows anyways?
  • Loading branch information
Stefan Sullivan committed May 16, 2024
1 parent 303a042 commit b041da6
Showing 1 changed file with 16 additions and 20 deletions.
36 changes: 16 additions & 20 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: Visual Studio 2022
image: Ubuntu
environment:

matrix:
Expand All @@ -8,22 +8,20 @@ environment:
# The list here is complete (excluding Python 2.6, which
# isn't covered by this document) at the time of writing.

- PYTHON: "C:\\Python37"
- PYTHON: "C:\\Python38"
- PYTHON: "C:\\Python39"
- PYTHON: "C:\\Python37-x64"
- PYTHON: "C:\\Python38-x64"
- PYTHON: "C:\\Python39-x64"
- PYTHON: "C:\\Python310-x64"
- PYTHON: "C:\\Python311-x64"
- PYTHON: "{HOME}/venv3.7/bin/python"
- PYTHON: "{HOME}/venv3.8/bin/python"
- PYTHON: "{HOME}/venv3.9/bin/python"
- PYTHON: "{HOME}/venv3.10/bin/python"
- PYTHON: "{HOME}/venv3.11/bin/python"
- PYTHON: "{HOME}/venv3.12/bin/python"

install:
# Newer setuptools is needed for proper support of pyproject.toml
- "%PYTHON%\\python.exe -m pip install setuptools --upgrade"
# We need wheel installed to build wheels
- "%PYTHON%\\python.exe -m pip install wheel --upgrade"
- "%PYTHON%\\python.exe -m pip install build setuptools_scm"
- "%PYTHON%\\python.exe -m pip install pytest numpy pandas"
- env
- which -a python
- ls ~/venv3.7/bin
- echo $PYTHON
- sh: $PYTHON -m pip install build pytest numpy pandas

build: off

Expand All @@ -35,20 +33,18 @@ test_script:
# Note that you must use the environment variable %PYTHON% to refer to
# the interpreter you're using - Appveyor does not do anything special
# to put the Python version you want to use on PATH.
#- "build.cmd %PYTHON%\\python.exe setup.py test"
- "%PYTHON%\\python.exe -m pytest -v --doctest-modules --ignore benchmark.py"
- sh: $PYTHON -m pytest -v --doctest-modules --ignore benchmark.py


after_test:
# This step builds your wheels.
# Again, you only need build.cmd if you're building C extensions for
# 64-bit Python 3.3/3.4. And you need to use %PYTHON% to get the correct
# interpreter
#- "build.cmd %PYTHON%\\python.exe setup.py bdist_wheel"
- "%PYTHON%\\python.exe -m build -nswx ."
- sh: $PYTHON -m build .

artifacts:
# bdist_wheel puts your built wheel in the dist directory
- path: dist\*
- path: dist/*

#on_success:
# You can use this step to upload your artifacts to a public website.
Expand Down

0 comments on commit b041da6

Please sign in to comment.