Update to v2.0.3 #59
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Test package every time | |
name: Pytest | |
on: | |
workflow_dispatch: | |
release: | |
types: [ created ] | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
update: | |
name: "(${{ matrix.os }}, ${{ matrix.python-version }}, ${{ matrix.test }})" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: False | |
matrix: | |
os: [ "ubuntu-latest" , "macos-latest" ] | |
python-version: [ 3.6, 3.7, 3.8, 3.9, "3.10" ] | |
steps: | |
- name: Setup python | |
uses: actions/setup-python@v2.3.1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Checkout repo | |
uses: actions/checkout@v2.4.0 | |
with: | |
submodules: recursive | |
- name: macos pre-install | |
if: matrix.os == 'macos-latest' | |
run: source .github/scripts/setup-osx.sh | |
- name: pre install numpy | |
if: matrix.python-version == 3.6 | |
run: pip install numpy==1.13 | |
- name: test install | |
run: | | |
pip install wheel | |
pip install . | |
python tests/core_nest_tests.py | |
python tests/example_tests.py |