Skip to content

add first pytest unit tests #23

add first pytest unit tests

add first pytest unit tests #23

Workflow file for this run

name: CI Checks
on: [pull_request]
jobs:
unit-tests:
name: Unit Tests
runs-on: "ubuntu-20.04"
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: rcareworld
python-version: "3.10"
- run: |
cd pyrcareworld
pip install -r requirements.txt
pip install -e .
pip uninstall -y numpy
conda install numpy
cd ../
pytest tests/