Skip to content

Add imbalanced learning library #8

Add imbalanced learning library

Add imbalanced learning library #8

Workflow file for this run

name: 'build'
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build_conda:
name: Linux Conda
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: ramp-nuclear-inventory
environment-file: environment.yml
python-version: 3.8
auto-activate-base: false
- run: |
python download_data.py
ramp-test --quick-test
build_pip:
name: Linux pip
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 nbconvert[test]
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test
run: |
flake8 *.py submissions/*/*.py
python download_data.py
ramp-test --quick-test
jupyter nbconvert --execute nuclear_inventory_starting_kit.ipynb --to html --ExecutePreprocessor.kernel_name=python3