fix: in post-processing of split rewrite file #2963
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# 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 |