Skip to content

Commit

Permalink
Modified cont_int.yml
Browse files Browse the repository at this point in the history
Only run on Py3.7
  • Loading branch information
alongd committed May 3, 2021
1 parent 9959ab0 commit e74dcab
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/cont_int.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,42 @@
name: continuous integration

on: [push]
on:
push:
pull_request:
branches:
- master
types: [opened, synchronize, reopened, ready_for_review, review_requested]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8]
defaults:
run:
shell: bash -l {0}

steps:
- uses: actions/checkout@v2

- name: Set up miniconda Python ${{ matrix.python-version }}
- name: Set up miniconda Python 3.7
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: t3_env
environment-file: environment.yml
python-version: ${{ matrix.python-version }}
python-version: 3.7
auto-activate-base: false

- name: Install codecov
run: conda install -y -c conda-forge codecov

- name: Install dependencies
shell: bash -l {0}
run: |
export PYTHONPATH=$PYTHONPATH:$(pwd)
conda activate t3_env
make install
echo $(pwd)
conda list
- name: Test with nosetests
shell: bash -l {0}
- name: Test with PyTest
run: |
cd ..
cd RMG-Py
Expand Down

0 comments on commit e74dcab

Please sign in to comment.