Skip to content

Create run-pytest.yml #1

Create run-pytest.yml

Create run-pytest.yml #1

Workflow file for this run

name: Run Tests with Pytest
on:
pull_request:
branches: [main]
jobs:
create-environment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: mamba-org/[email protected]
with:
generate-run-shell: true
environment-name: test-env
create-args: >-
python=3.10
pytest
- shell: micromamba-shell {0}
- run: |
pytest --version