Skip to content

added .h5, .vtu, .png in gitignore #24

added .h5, .vtu, .png in gitignore

added .h5, .vtu, .png in gitignore #24

Workflow file for this run

name: compositionspace testing
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest,]
python-version: [3.9]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Cache conda
uses: actions/cache@v1
env:
# Increase this value to reset cache if etc/example-environment.yml has not changed
CACHE_NUMBER: 0
with:
path: ~/conda_pkgs_dir
key:
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
hashFiles('environment.yml') }}
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: compspace
channel-priority: strict
environment-file: environment.yml
python-version: ${{ matrix.python-version }}
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!
- name: run tests
shell: bash -l {0}
run: |
pip install -e .
pip install pytest
pip install pytest-cov
pytest tests/