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