Skip to content

Updating notebook to latest dLux #85

Updating notebook to latest dLux

Updating notebook to latest dLux #85

Workflow file for this run

# Author : Jordan Dennis
# Date : 29/06/2022
# Title : tests.yml
# Description : Automatically runs tests when branches are merged.
# The tests that are run can be found in the tests directory.
name: automated tests
on: [push]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@main
- name: python
uses: actions/setup-python@v1
with:
python-version: 3.9
architecture: x64
- name: install environment
run: |
python -m pip install --upgrade pip
pip install --quiet pytest
pip install --quiet -r requirements.txt
pip install --quiet .
# ===== Tests =====
- name: dataset loader tests
run: pytest --quiet tests/test_ImageDataset.py