Skip to content

Merge pull request #59 from LinkedEarth/install #89

Merge pull request #59 from LinkedEarth/install

Merge pull request #59 from LinkedEarth/install #89

Workflow file for this run

name: run pytest
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- name: Checkout files in repo
uses: actions/checkout@v3
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: pyleotups
environment-file: environment.yml
python-version: "3.11"
auto-activate-base: false
- name: Conda list
run: |
conda activate pyleotups
conda list
- name: Install pyleotups package
run: |
conda activate pyleotups
pip install -e .
- name: Test with pytest
run: |
conda activate pyleotups
pytest pyleotups/tests -svv