Skip to content

Commit

Permalink
add basic pytest actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Fujio-Turner committed Aug 24, 2024
1 parent 7bbfba4 commit 207d6ea
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/pytestBig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Python application

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest

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

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x' # Specify your Python version here, e.g., '3.9'

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

0 comments on commit 207d6ea

Please sign in to comment.