Skip to content

Fix test further

Fix test further #60

Workflow file for this run

---
name: build
on: [push, pull_request]
jobs:
test:
name: ${{ matrix.os }} ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [3.11, 3.12]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup miniconda
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: pybdv-build-env
auto-update-conda: true
channels: conda-forge
environment-file: .github/workflows/environment.yaml
python-version: ${{ matrix.python-version }}
auto-activate-base: false
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
- name: Install pybdv
if: matrix.os == 'ubuntu-latest'
shell: bash -l {0}
run: pip install -e .[dask]
- name: Run tests
shell: bash -l {0}
run: python -m unittest discover -s test -v