CI targets changed

This commit is contained in:
Fabian Joswig 2021-10-12 14:45:20 +01:00
parent 0efd8a3c6d
commit 62c5199865

View file

@ -1,6 +1,11 @@
name: CI
on: [push, pull_request]
on:
push:
branches:
- master
- develop
pull_request:
jobs:
test:
@ -9,7 +14,7 @@ jobs:
fail-fast: true
matrix:
os: ["ubuntu-latest", "macos-latest"]
python-version: ["3.6", "3.8", "3.10"]
python-version: ["3.6", "3.8", "3.9"]
steps:
- name: Checkout source
@ -21,17 +26,11 @@ jobs:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Display Python version number
run: |
python -c "import sys; print(sys.version)"
- name: Install
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pytest
python -c "import numpy; print(numpy.__version__)"
python -c "import matplotlib; print(matplotlib.__version__)"
- name: Run tests
run: pytest