Skip to content

Remove testing against remote data #1145

Remove testing against remote data

Remove testing against remote data #1145

Workflow file for this run

name: Test
on:
push: { branches: [ "main" ] }
pull_request: { branches: [ "main" ] }
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python: ["3.9", "3.10"]
steps:
- uses: actions/checkout@v2
with: { submodules: recursive }
- uses: conda-incubator/setup-miniconda@v2
with: { miniforge-variant: "Mambaforge", python-version: "${{ matrix.python }}" }
- name: install dependencies
shell: bash -l {0}
run: |
mamba env update --quiet -n test -f environment.yml
conda list
- name: install echemdb-website
shell: bash -l {0}
run: |
pip install -e .
- name: doctest
shell: bash -l {0}
run: |
pytest -n auto --doctest-plus --doctest-modules website