Skip to content

Commit

Permalink
Added Github test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksaRacic committed Mar 28, 2024
1 parent 51c1a38 commit c27cb98
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Python Tests

on:
pull_request: {}
push: {}

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run pytest
run: |
pip install pytest
pytest

0 comments on commit c27cb98

Please sign in to comment.