Skip to content

Update setup.py (#608) #494

Update setup.py (#608)

Update setup.py (#608) #494

Workflow file for this run

name: run pytest for the master Branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
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: pyleo
environment-file: environment.yml
python-version: "3.11.0"
auto-activate-base: false
- name: Conda list
run: |
conda activate pyleo
conda list
- name: Test with pytest
run: |
conda activate pyleo
pytest pyleoclim/tests -svv -W ignore::UserWarning