commit: f2adac4d423352bd8b89e2715163096548483ccc
Author: Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Wed Feb 19 16:45:36 2025 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 8 11:32:03 2025 +0000
URL: https://gitweb.gentoo.org/proj/javatoolkit.git/commit/?id=f2adac4d
.github/workflows/test.yml: Run tests in CI
Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me>
Approved-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
.github/workflows/test.yml | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..58a7162
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,26 @@
+name: Test
+
+on:
+ push:
+ branches:
+ - master
+ tags:
+ - "*"
+ pull_request:
+
+jobs:
+ test:
+ runs-on: "ubuntu-latest"
+ strategy:
+ matrix:
+ python-version: [ "3.10", "3.13" ]
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Setup Python ${{ matrix.python-version }}
+ uses: actions/setup-python@v5
+ with:
+ python-version: ${{ matrix.python-version }}
+
+ - name: Run tests
+ run: python -m unittest discover -t src -s test