Skip to content

Commit

Permalink
Use Github Actions instead of Appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
drasmuss authored and tbekolay committed Feb 8, 2022
1 parent 2556558 commit 15272ed
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 35 deletions.
35 changes: 0 additions & 35 deletions .appveyor.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/windows-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Windows CI
on: [push]

jobs:
test:
strategy:
matrix:
include:
- python_version: 3.7
numpy_version: numpy
tf_version: tensorflow
nengo_version: nengo[tests]
- python_version: 3.8
numpy_version: numpy
tf_version: tensorflow --pre
nengo_version: git+https://github.com/nengo/nengo.git#egg=nengo[tests]
- python_version: 3.6
numpy_version: numpy==1.16.0
tf_version: tensorflow==2.2.0
nengo_version: nengo[tests]==3.0.0
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python_version }}
- name: Install dependencies
run: |
python -m pip install pip setuptools --upgrade
pip install ${{ matrix.numpy_version }} ${{ matrix.tf_version }} ${{ matrix.nengo_version }}
pip install -e .[tests]
pip freeze
- name: Run tests
run: |
pytest -n 2 -v --durations 20 nengo_dl
pytest -n 2 -v --durations 20 --pyargs nengo

0 comments on commit 15272ed

Please sign in to comment.