Skip to content

Commit

Permalink
pytest workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eagmon committed Mar 16, 2024
1 parent f1bb8dc commit 8c842ba
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Run Pytest

on:
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov
pip install -e .
- name: Run pytest
run: |
pip install pytest
pytest --cov=builder --cov-report=term

0 comments on commit 8c842ba

Please sign in to comment.