Skip to content
Merged
51 changes: 51 additions & 0 deletions .github/workflows/core-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: NeoCoreTest

on:
pull_request:
branches: [master]
types: [synchronize, opened, reopened, ready_for_review]

# run checks on any change of master, including merge of PRs
push:
branches: [master]



jobs:
multi-os-python-numpy:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: true
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ['3.7', '3.8', '3.9']
numpy-version: ['1.16.6', '1.19.5', '1.20.3', '1.21.5', '1.22.3']
exclude:
- python-version: '3.7'
numpy-version: '1.22.3'

steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Checkout repository
uses: actions/checkout@v2

- name: Install numpy ${{ matrix.numpy-version }}
run: |
python -m pip install --upgrade pip
pip install numpy==${{ matrix.numpy-version }}
pip install pytest pytest-cov
pip install .

- name: List pip packages
run: |
pip -V
pip list

- name: Run tests
run: |
pytest --cov=neo neo/test/coretest
5 changes: 3 additions & 2 deletions .github/workflows/full-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: neo.io and neo.rawio tests
name: NeoIoTest

on:
pull_request:
Expand All @@ -9,12 +9,13 @@ on:
push:
branches: [master]


jobs:
build-and-test:
name: Test on (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
fail-fast: true
matrix:
# "macos-latest", "windows-latest"
os: ["ubuntu-latest", ]
Expand Down
47 changes: 0 additions & 47 deletions .travis.yml

This file was deleted.