Skip to content

ci: add test action and change numpy version #1

ci: add test action and change numpy version

ci: add test action and change numpy version #1

Workflow file for this run

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 setup.py install
- name: Run tests
run: |
python -m pip install pytest
pytest