Skip to content

[FEATURE]: Implement unit tests #4

[FEATURE]: Implement unit tests

[FEATURE]: Implement unit tests #4

Workflow file for this run

name: 🧪 Run Unit Tests
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
permissions: write-all
jobs:
test:
runs-on: ubuntu-latest
name: 🧪 Run Unit Tests
steps:
- name: 📀 Checks Repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: 🐍 Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: requirements.txt
- name: 📦 Install project requirements
run: pip install -r requirements.txt
- name: 🧪 Run Unit Tests
run: |
python -m unittest discover -s tests