Skip to content

Js/improve code

Js/improve code #22

Workflow file for this run

name: Run Unit Tests
# Trigger the action on push or pull request
on:
push:
branches:
- '*'
pull_request:
branches:
- dev_push
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
# Check out repository
- name: Checkout repository
uses: actions/checkout@v3
# Set up Python
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
# Install dependencies
- name: Install dependencies
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
$CONDA/bin/conda env update --file tools/code/rdl-tools.yml --name base
- name: Test with pytest
run: |
conda install pytest
$CONDA/bin/pytest