From 78976824a6ac2041f2821fcbced5a49094572e7d Mon Sep 17 00:00:00 2001 From: tholzheim Date: Mon, 29 Jan 2024 17:30:48 +0100 Subject: [PATCH] added github workflow --- .github/workflows/test.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..a16e93c --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,23 @@ +name: Python package + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python: ["3.10", "3.11", "3.12"] + + steps: + - uses: actions/checkout@v4 + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python }} + - name: Install tox and any other packages + run: pip install tox + - name: Run tox + # Run tox using the version of Python in `PATH` + run: tox -e py