From 8d117d2e5182139274bbda52d87a4d550156f6d6 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Fri, 19 Nov 2021 23:38:14 +0100 Subject: [PATCH] Add CI configuration for GHA --- .github/workflows/tests.yml | 26 ++++++++++++++++++++++++++ CHANGES.rst | 1 + setup.py | 1 + 3 files changed, 28 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..168cb02 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,26 @@ +name: Tests + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + max-parallel: 5 + matrix: + python-version: [3.6, 3.7, 3.8, 3.9, '3.10'] + + steps: + - uses: actions/checkout@v2 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + + - name: Run tests + run: make test diff --git a/CHANGES.rst b/CHANGES.rst index 83c417b..3ad2557 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -10,6 +10,7 @@ in progress - Allow relative timestamps / time ranges also for ``start`` and ``stop`` parameters. Accepted are humanized values like outlined above (``2m30s``), combined with, e.g., ``stop=start+2m30s`` or ``start=-1h, stop=now``. +- Add CI configuration for GHA 2021-11-17 0.6.0 diff --git a/setup.py b/setup.py index 21cfc05..50dc4f9 100644 --- a/setup.py +++ b/setup.py @@ -43,6 +43,7 @@ "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "License :: OSI Approved :: GNU Affero General Public License v3", "License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)", "Development Status :: 4 - Beta",