Skip to content

Commit

Permalink
Create python-ci-tests.yml
Browse files Browse the repository at this point in the history
Actions need to run on the main branch
  • Loading branch information
verovaleros authored Oct 29, 2024
1 parent fcb8f74 commit af9e1e4
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/python-ci-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Python CI Tests

on:
pull_request:
branches:
- main
- development

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Check out the repository
uses: actions/checkout@v3

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

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests
env:
PYTHONDONTWRITEBYTECODE: 1
run: python -m unittest discover -s tests -v

0 comments on commit af9e1e4

Please sign in to comment.