Update workflow to run on pull requests
Otherwise status check left pending and unable to merge
name: Python package
-on: [push]
+on:
+ push:
+ paths:
+ - '*.py'
+ pull_request:
+ branches:
+ - master
+ - develop
+ - 'rc*'
jobs:
build:
@@ -8,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- python-version: [3.6]
+ python-version: [3.7]
steps:
- uses: actions/checkout@v2
@@ -24,7 +32,7 @@ jobs:
- name: Setup conda
uses: s-weigand/setup-conda@v1
with:
- python-version: 3.6
+ python-version: 3.7
- name: Pre-Install dependencies
run: |
gfortran --version
