Skip to content

docs #77: improved the quality of CS dissertation #347

docs #77: improved the quality of CS dissertation

docs #77: improved the quality of CS dissertation #347

Workflow file for this run

# Github action for installing dependencies using conda enviroment dump, and
# running unit tests
name: Install dependencies and run unit tests using conda enviroment dump
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
unit_tests:
runs-on: ubuntu-latest
# Conda needs a loggin shell to be able to run `conda activate`
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v3
# Activate the conda enviroment using the dump of the enviroment
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: squijano
environment-file: enviroment.yml
auto-activate-base: false
- name: Test with unitttest module
run: |
conda run python -m unittest src/test/*.py