Skip to content

Added simulation options, and saving the result to a temporary directory #34

Added simulation options, and saving the result to a temporary directory

Added simulation options, and saving the result to a temporary directory #34

Workflow file for this run

name: Run tests
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
# Checkout the latest code from the repo
- name: Checkout repo
uses: actions/checkout@v2
# Setup which version of Python to use
- name: Set Up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r tests/requirements.txt
- name: Add custom function directory to PYTHONPATH
run: echo "PYTHONPATH=$PWD/Resources/CustomFunctions" >> $GITHUB_ENV
- name: Run tests
run: |
pytest tests/test*