Suppress underscore error..minor edit (#133) #201
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
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.8] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Add conda to system path | |
run: | | |
# "$CONDA" is an environment variable pointing to the root of the miniconda directory | |
echo "$CONDA"/bin >> "$GITHUB_PATH" | |
echo "$CONDA" | |
- name: Install dependencies | |
run: | | |
conda config --add channels conda-forge | |
conda env update --file environment.yml --name base | |
if [ -f mamba_requirements.txt ]; then mamba install --file mamba_requirements.txt; fi | |
if [ -f requirements.txt ]; then pip install -e .; fi | |
- name: Checkout submodules | |
run: git submodule update --init --remote --recursive | |
- name: Test with pytest | |
run: | |
pytest |