[Do not merge] Testing continuous intergration with GitHub Actions #6
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: Ex3 Linux | |
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: | | |
conda info | |
conda list | |
# unit-tests: | |
# name: Unit Tests | |
# runs-on: ubuntu-20.04 | |
# defaults: | |
# run: | |
# shell: bash -l {0} | |
# steps: | |
# - uses: actions/checkout@v4 | |
# - uses: conda-incubator/setup-miniconda@v3 | |
# with: | |
# activate-environment: anaconda-client-env | |
# environment-file: etc/example-environment-caching.yml | |
# python-version: "3.10" | |
# - name: Install dependencies | |
# run: | | |
# conda create -n rcareworld python=3.10 | |
# conda activate rcareworld | |
# cd RCareWorld/pyrcareworld | |
# pip install -r requirements.txt | |
# pip install -e . | |
# pip uninstall numpy | |
# conda install numpy | |
# - name: Verify that installation works | |
# run: | | |
# cd RCareWorld/template | |
# python test_bathing.py |