Skip to content

Commit

Permalink
try github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsilver committed Aug 17, 2024
1 parent d60a388 commit 27316d4
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI Checks

on: [pull_request]

jobs:
unit-tests:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- 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

0 comments on commit 27316d4

Please sign in to comment.