Skip to content

Commit

Permalink
Create run-pytest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
caitlinadams authored Jan 8, 2025
1 parent 0a1b52f commit 044be7b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/run-pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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

0 comments on commit 044be7b

Please sign in to comment.