Skip to content

Commit

Permalink
Added the github workflow for running unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zlatanjakic committed May 31, 2024
1 parent 9f310ed commit 1b342cc
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/pytest-unit-testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Unit testing

on:
push:
pull_requsts:

jobs:
run-tests:
startegy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"

name:
runs-on: ${{ matrix.os }}

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

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install dependecies
run: python -m pip install pytest firebase-admin scikit-learn pandas numpy

- name: Run tests
run: pytest

0 comments on commit 1b342cc

Please sign in to comment.