diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 5c5f3459..bfc6e3d0 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -1,5 +1,5 @@ on: push -name: on push +name: Continious Integration jobs: Tests: name: base @@ -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