Skip to content

fix

fix #631

Workflow file for this run

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:
python-version: 3.8
miniforge-variant: Mambaforge
channels: defaults,mjohnson541,conda-forge
channel-priority: true
activate-environment: pynta_env
environment-file: environment.yml
- name: Conda info
run: |
conda info
conda list
- name: Start MongoDB
uses: supercharge/[email protected]
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: conda install -y -c conda-forge codecov
- name: Code coverage
run: codecov