[Do not merge] Testing continuous intergration with GitHub Actions #11
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: 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 RCareWorld/pyrcareworld | |
pip install -r requirements.txt | |
pip install -e . | |
pip uninstall numpy | |
conda install numpy | |
cd RCareWorld/template | |
python test_bathing.py |