Skip to content

Commit 28c18e4

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 28c18e4

File tree

1 file changed

+18
-20
lines changed

1 file changed

+18
-20
lines changed

appveyor.yml

Lines changed: 18 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,18 @@ 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: 3.7
12+
- PYTHON: 3.8
13+
- PYTHON: 3.9
14+
- PYTHON: 3.10
15+
- PYTHON: 3.11
16+
- PYTHON: 3.12
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+
- source ~/venv${PYTHON}/bin/activate
21+
- which python
22+
- python -m pip install build pytest numpy pandas
2723

2824
build: off
2925

@@ -35,20 +31,22 @@ test_script:
3531
# Note that you must use the environment variable %PYTHON% to refer to
3632
# the interpreter you're using - Appveyor does not do anything special
3733
# 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"
34+
- source ~/venv${PYTHON}/bin/activate
35+
- which python
36+
- 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+
- source ~/venv${PYTHON}/bin/activate
45+
- which python
46+
- python -m build .
4847

4948
artifacts:
50-
# bdist_wheel puts your built wheel in the dist directory
51-
- path: dist\*
49+
- path: dist/*
5250

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

0 commit comments

Comments
 (0)