diff --git a/.github/workflows/code_checks.yml b/.github/workflows/code_checks.yml index 794545ce..0e39de1a 100755 --- a/.github/workflows/code_checks.yml +++ b/.github/workflows/code_checks.yml @@ -39,3 +39,23 @@ jobs: echo "๐Ÿ” Checking Python syntax..." find . -name "*.py" -print0 | xargs -0 -n1 python3 -m py_compile +test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.x' + + - name: Install dependencies + run: | + pip install -r requirements.txt + pip install pytest + + - name: Run unit tests + run: | + echo "๐Ÿงช Running unit tests..." + pytest -m "not (docker or compose or feature_complete)" \ No newline at end of file