Skip to content

Commit

Permalink
Create python-testing.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sdaza authored Dec 8, 2024
1 parent 44dc240 commit dd4bacd
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/python-testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Python Tests

on:
push:
branches:
- '**' # Triggers on any branch
pull_request:
branches:
- '**' # Triggers on pull requests to any branch

jobs:
test:
runs-on: ubuntu-latest

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

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10' # Specify the Python version

- name: Install Poetry
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Install dependencies
run: |
poetry install
- name: Run tests
run: |
poetry run pytest tests/ # Adjust the path to your test directory

0 comments on commit dd4bacd

Please sign in to comment.