Skip to content

adding helper to bootstrap the generation of the meta.yaml file #3000

adding helper to bootstrap the generation of the meta.yaml file

adding helper to bootstrap the generation of the meta.yaml file #3000

Workflow file for this run

# GitHub action that attempts to install the conda env
# from conda.yaml
# then run black, isort, flake8
name: Install
on: [push, pull_request]
jobs:
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
environment-file: conda.yaml
activate-environment: chemnlp
python-version: 3.9
auto-update-conda: true
auto-activate-base: false
- name: Validate yaml
shell: bash -l {0}
run: |
conda activate chemnlp
python -m src.chemnlp.data_val.validate data
- name: Tests
shell: bash -l {0}
run: |
pip install pytest
pytest tests