build: fix missing data files #3
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
name: Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
python-version: "3.11" | |
environment-file: environment.yaml | |
activate-environment: build | |
- name: Install | |
run: | | |
python -m pip install --upgrade setuptools | |
python -m pip install --upgrade numpy>=2.0 | |
python -m pip install . | |
- name: Run tests | |
run: | | |
python -m pip install pytest | |
pytest |