Skip to content

Commit

Permalink
Creates a unittest workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AG3NTZ3R0 committed Feb 16, 2024
1 parent 2f414b3 commit 3068294
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Unittest

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run the tests with unittest
run: |
python -m unittest discover
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# JetBrains
.idea
.idea

# PyCache
__pycache__

0 comments on commit 3068294

Please sign in to comment.