Skip to content

Commit

Permalink
Merge pull request #13 from zadorlab/testing
Browse files Browse the repository at this point in the history
Testing
  • Loading branch information
mjohnson541 authored Dec 20, 2022
2 parents 40bfa0a + a108c98 commit 86ccb68
Show file tree
Hide file tree
Showing 52 changed files with 675 additions and 1,863 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
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:
mamba-version: "*"
channels: defaults,mjohnson541,conda-forge
channel-priority: true
python-version: 3.8
activate-environment: pynta_env
environment-file: environment.yml
- name: Conda info
run: |
conda info
conda list
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.8.0
with:
mongodb-version: 5.0.7
- name: Get working directory
run: pwd
- name: Get local files
run: ls
- name: Setup Fireworks configuration
run: |
cp /home/runner/work/pynta/pynta/test/FW_config.yaml /home/runner/work/pynta/pynta/test/pyntatest/launches
echo y | lpad -l /home/runner/work/pynta/pynta/test/my_launchpad.yaml reset
- name: Tests
run: make test-all
- name: Install codecov
run: mamba install -y -c conda-forge codecov
- name: Code coverage
run: codecov
39 changes: 0 additions & 39 deletions .github/workflows/build_status.yml

This file was deleted.

8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
test-all:
nosetests --nocapture --nologcapture --verbose --with-coverage --cover-inclusive --cover-erase --cover-html --cover-html-dir=testing/coverage --cover-package=pynta pynta

test-unittests:
nosetests --nocapture --nologcapture -A 'not functional' --verbose --with-coverage --cover-inclusive --cover-erase --cover-html --cover-html-dir=testing/coverage --cover-package=pynta pynta

test-functional:
nosetests --nocapture --nologcapture -A 'functional' --verbose --with-coverage --cover-inclusive --cover-erase --cover-html --cover-html-dir=testing/coverage --cover-package=pynta pynta
12 changes: 0 additions & 12 deletions NOTICE/LICENSE.ASE

This file was deleted.

26 changes: 0 additions & 26 deletions NOTICE/LICENSE.Balsam

This file was deleted.

Loading

0 comments on commit 86ccb68

Please # to comment.