Skip to content

Commit

Permalink
Added initial github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Buffington authored and Tyler Buffington committed Aug 16, 2024
1 parent d78d379 commit 26554aa
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Run Pytest

on:
pull_request:
branches:
- main
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'

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

0 comments on commit 26554aa

Please sign in to comment.