Skip to content

Commit

Permalink
chore: implement GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vytas7 committed Aug 27, 2024
1 parent ed8dee5 commit 9c567e7
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/tox.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9c567e7

Please sign in to comment.