Skip to content

Merge pull request #72 from ManuelNavarroGarcia/dependabot/pip/zipp-3… #233

Merge pull request #72 from ManuelNavarroGarcia/dependabot/pip/zipp-3…

Merge pull request #72 from ManuelNavarroGarcia/dependabot/pip/zipp-3… #233

Workflow file for this run

name: Pytest
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
default-shell:
name: Default shell
runs-on: "ubuntu-latest"
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: cpsplines
environment-file: env.yml
- name: Test with pytest
run: |
pip install -r requirements.txt
pip install pytest
pytest --ignore=tests/test_solution.py