Skip to content

Commit

Permalink
simplified the yml file again
Browse files Browse the repository at this point in the history
  • Loading branch information
mark11778 committed Dec 2, 2024
1 parent b2c0753 commit 94939ab
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: Python Tests

on:
push:
branches: [main, develop, feature/citesting] # or your default branch name
pull_request:
branches: [main, develop, feature/citesting] # or your default branch name
branches: [main, develop, feature/citesting]

jobs:
test:
Expand All @@ -16,14 +14,13 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.12.4' # Specify your Python version if needed
python-version: '3.12.4'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest # Add any other dependencies your tests need
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run tests
run: |
python -m pytest citestfiles/ -v # This will run all test files in citestfiles directory
python -m pytest citestfiles/ -v

0 comments on commit 94939ab

Please sign in to comment.