Skip to content

Js/implement unit tests #12

Js/implement unit tests

Js/implement unit tests #12

Workflow file for this run

name: Run Unit Tests
# Trigger the action on push or pull request
on:
push:
branches:
- js/implement_unit_tests
pull_request:
branches:
- dev_push
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