Create tests.yml

This commit is contained in:
kolo
2025-04-02 00:03:48 +03:00
committed by GitHub
parent 54992e55cb
commit 0d98d80919
+31
View File
@@ -0,0 +1,31 @@
name: tests
on:
push:
branches: [ "kolo" ]
pull_request:
branches: [ "kolo" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.13"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Run tests
run: poetry run python -m unittest discover