fix(test_TotalSize) #173
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Tests | |
on: | |
push: | |
branches: [ main, master, dev ] | |
paths: | |
- '**.py' | |
pull_request: | |
branches: [ main, master ] | |
jobs: | |
Test: | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
matrix: | |
os: ["ubuntu", "macos", "windows"] | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- name: Checkout package repository | |
uses: actions/checkout@v2 | |
- name: Deploying miniconda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
miniconda-version: "latest" | |
environment-file: environment.yaml | |
activate-environment: test | |
- name: Building & Testing conda package | |
run: | | |
conda install -y python pytest | |
python -m pytest |