Skip to content

Commit

Permalink
First attempt at GHA pytest.
Browse files Browse the repository at this point in the history
  • Loading branch information
gwright99 committed Aug 7, 2024
1 parent 355b282 commit a89fe1e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test_application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# https://medium.com/marionete/using-github-actions-to-help-review-pull-requests-using-unit-tests-and-code-coverage-72bde49ed3a2
name: Run Test Suite

on: [push]

env:
MIN_COVERAGE_REQUIRED: 75

jobs:
run-test-suite:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Python 3.8.10
uses: actions/setup-python@v5
with:
python-version: '3.8.10'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
#pip install -r requirements.txt
pip install pytest
- name: Run Pytest tests
run: pytest -rA

0 comments on commit a89fe1e

Please sign in to comment.