Skip to content

Commit

Permalink
add continuous integration test github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mjohnson541 committed Dec 8, 2022
1 parent 5f94f9c commit 5421cf8
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI Tests

on:
push:
pull_request:
branches:
- master
types: [opened, synchronize, reopened, ready_for_review, review_requested]
jobs:
build-and-test-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
environment-file: environment.yml
python-version: 3.8
activate-environment: pynta_env
- name: Install codecov
run: conda install -y -c conda-forge codecov
- name: Conda info
run: |
conda info
conda list
- name: Tests
run: make test
- name: Code coverage
run: codecov

0 comments on commit 5421cf8

Please # to comment.