Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
Add tests directory and test runner workflow config
Browse files Browse the repository at this point in the history
  • Loading branch information
shorodilov committed Oct 27, 2023
1 parent 1501252 commit b538510
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Python Unittest

on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
unittest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]

steps:
- name: Check out source code
uses: actions/checkout@v3

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

- name: Run tests
run: |
python -m unittest discover tests
Empty file added tests/__init__.py
Empty file.

0 comments on commit b538510

Please sign in to comment.