From 62c51998650748fb4136b1faa13ec1a19404dfa0 Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Tue, 12 Oct 2021 14:45:20 +0100 Subject: [PATCH] CI targets changed --- .github/workflows/CI.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4e0e9b3b..fd65c11c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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