From 9c567e7f6de68207cd71cc39aab1a0c7ed23b81a Mon Sep 17 00:00:00 2001 From: Vytautas Liuolia Date: Tue, 27 Aug 2024 09:59:16 +0200 Subject: [PATCH] chore: implement GitHub Actions --- .github/workflows/tox.yaml | 45 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/tox.yaml diff --git a/.github/workflows/tox.yaml b/.github/workflows/tox.yaml new file mode 100644 index 0000000..979636c --- /dev/null +++ b/.github/workflows/tox.yaml @@ -0,0 +1,45 @@ +name: tests + +on: + push: + pull_request: + +jobs: + tox: + name: ${{ matrix.platform.name }} + runs-on: "ubuntu-latest" + strategy: + fail-fast: false + matrix: + platform: + - name: py38 + python-version: "3.8" + - name: py39 + python-version: "3.9" + - name: py310 + python-version: "3.10" + - name: py311 + python-version: "3.11" + - name: py312 + python-version: "3.12" + - name: py313 + python-version: "3.13.0-rc.1 - 3.13" + - name: pypy + python-version: "pypy-3.10" + + steps: + - name: Checkout repo + uses: actions/checkout@v4 + + - name: Set up python + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.platform.python-version }} + + - name: Install dependencies + run: | + pip install --upgrade pip + pip install --upgrade tox + + - name: Run tox + run: tox