Bump tox from 3.24.5 to 4.16.0 #28
Workflow file for this run
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
# This workflow simulates the environment found during a conda-forge build | |
# and makes sure that Zarr can run without fsspec and other additional libraries. | |
name: Minimal installation | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
minimum_build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Miniconda | |
uses: conda-incubator/setup-miniconda@master | |
with: | |
channels: conda-forge | |
environment-file: environment.yml | |
activate-environment: minimal | |
- name: Tests | |
shell: "bash -l {0}" | |
run: | | |
conda activate minimal | |
python -m pip install . | |
pytest -svx --timeout=300 | |
- name: Fixture generation | |
shell: "bash -l {0}" | |
run: | | |
conda activate minimal | |
rm -rf fixture/ | |
pytest -svx --timeout=300 zarr/tests/test_dim_separator.py zarr/tests/test_storage.py | |
# This simulates fixture-less tests in conda and debian packaging |