Skip to content

Commit

Permalink
configure GitHub Actions for auto-test using pytests
Browse files Browse the repository at this point in the history
  • Loading branch information
thefriedbee committed Dec 18, 2024
1 parent 824e07e commit 7a8995b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Python application

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt # Ensure you have a requirements.txt file
- name: Run tests
run: |
pytest # Run your tests

0 comments on commit 7a8995b

Please sign in to comment.