From 626c0aafeef1c6e5fdd23e674cedf4811476bce6 Mon Sep 17 00:00:00 2001 From: Tim Date: Mon, 2 Dec 2024 09:59:55 +0100 Subject: [PATCH] Test & package project --- .github/workflows/test.yml | 14 ++++++++++++++ pyproject.toml | 9 +++++++++ 2 files changed, 23 insertions(+) create mode 100644 .github/workflows/test.yml create mode 100644 pyproject.toml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..9ff9424 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,14 @@ +name: Test + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Python 3.9 + uses: actions/setup-python@v3 + with: + python-version: "3.9" + - run: python -m unittest tests/**.py diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..6ce455e --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,9 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = 'helpor' +version = '0.1.0' +requires-python = '>= 3.9' +