Skip to content

Commit

Permalink
Added GitHub Actions workflow for pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
bmm21002 committed Feb 21, 2025
1 parent bdbade8 commit 41d60e9
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run Pytest on Merge

on:
push:
branches:
- develop
- main
pull_request:
branches:
- develop
- main

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3

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

- name: Install Dependencies
run: |
pip install -r requirements.txt # Ensure dependencies are listed
pip install pytest
- name: Run Tests
run: pytest

0 comments on commit 41d60e9

Please sign in to comment.