Skip to content

Commit

Permalink
add windows tests with conda
Browse files Browse the repository at this point in the history
  • Loading branch information
tshirtman committed Oct 20, 2019
1 parent 7edbf46 commit 9b9dff8
Showing 1 changed file with 52 additions and 1 deletion.
53 changes: 52 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
on: push
name: on push
name: Continious Integration
jobs:
Tests:
name: base
Expand Down Expand Up @@ -84,3 +84,54 @@ jobs:
ant all
cd tests
CLASSPATH=../build/test-classes:../build/classes python -m nose -v
TestsWindows:
name: tests Windows
strategy:
matrix:
python:
- '2.7'
- '3.5'
- '3.6'
- '3.7'
java:
- '8'
- '9'
- '10'
- '11'
os:
- 'windows-latest'
architecture:
- 'x64'
- 'x86'

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@master

- name: Setup python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}

- name: Setup java
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
architecture: ${{ matrix.architecture }} # x64 // (x64 or x86) - defaults to x64

- name: install
run: |
conda config --add channels conda-forge
conda install -y conda --no-pin
"%CONDA_ROOT%\\Scripts\\activate"
conda info -a
# set COMPILER_VERSION=14
pip install -U setuptools
pip install .[dev,ci]
- name: test
run: |
ant all
cd tests
CLASSPATH=../build/test-classes:../build/classes nosetests -v

0 comments on commit 9b9dff8

Please sign in to comment.