Skip to content

Commit b041da6

Browse files
author
Stefan Sullivan
committed
test on ubuntu
pandas fails to install on 32-bit python on 64-bit windows, sometimes Why do we test on windows anyways?
1 parent 303a042 commit b041da6

File tree

1 file changed

+16
-20
lines changed

1 file changed

+16
-20
lines changed

appveyor.yml

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
image: Visual Studio 2022
1+
image: Ubuntu
22
environment:
33

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

11-
- PYTHON: "C:\\Python37"
12-
- PYTHON: "C:\\Python38"
13-
- PYTHON: "C:\\Python39"
14-
- PYTHON: "C:\\Python37-x64"
15-
- PYTHON: "C:\\Python38-x64"
16-
- PYTHON: "C:\\Python39-x64"
17-
- PYTHON: "C:\\Python310-x64"
18-
- PYTHON: "C:\\Python311-x64"
11+
- PYTHON: "{HOME}/venv3.7/bin/python"
12+
- PYTHON: "{HOME}/venv3.8/bin/python"
13+
- PYTHON: "{HOME}/venv3.9/bin/python"
14+
- PYTHON: "{HOME}/venv3.10/bin/python"
15+
- PYTHON: "{HOME}/venv3.11/bin/python"
16+
- PYTHON: "{HOME}/venv3.12/bin/python"
1917

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

2826
build: off
2927

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

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

4946
artifacts:
50-
# bdist_wheel puts your built wheel in the dist directory
51-
- path: dist\*
47+
- path: dist/*
5248

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

0 commit comments

Comments
 (0)