From 9b2f6154bccd114fb06df1fee4aeffc43104cac7 Mon Sep 17 00:00:00 2001 From: Christian Vogelgsang Date: Sat, 30 Dec 2023 20:26:21 +0100 Subject: [PATCH] added github action --- .github/workflows/test.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..10bba71 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,28 @@ +name: amitools GH Test + +on: + - push + - pull_request + +jobs: + build: + runs-on: ${{ matrix.platform }} + strategy: + matrix: + platform: [ubuntu-latest, macos-latest] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install tox tox-gh-actions + - name: Test with tox + run: tox -vvv + env: + PLATFORM: ${{ matrix.platform }}