From 528e8d52187484c2cd6ebae6cda62b4982345701 Mon Sep 17 00:00:00 2001 From: Isidro Arias Date: Sun, 2 Jun 2024 17:55:37 +0200 Subject: [PATCH 1/4] first attempt --- tox.ini | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tox.ini b/tox.ini index 4dbafc1..71b3140 100644 --- a/tox.ini +++ b/tox.ini @@ -26,3 +26,10 @@ description = flake8 lint skip_install = true deps = flake8 commands = flake8 --ignore E501,E701,E203,E704 fortuna + + +[gh-actions] +python = + 3.11: py311, lint, format + 3.12: py312 + 3.10: py310 \ No newline at end of file From c816895fadede8188fee7fc260df83b44a99f3b2 Mon Sep 17 00:00:00 2001 From: Isidro Arias Date: Sun, 2 Jun 2024 17:59:55 +0200 Subject: [PATCH 2/4] added workflow --- .github/workflows/tox.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/tox.yml diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml new file mode 100644 index 0000000..cbd32fb --- /dev/null +++ b/.github/workflows/tox.yml @@ -0,0 +1,25 @@ +name: tox tests + +on: + - push + - pull_request + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['3.10', '3.11', '3.12'] + + 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 From 4b6ddab3c0e51358d12d5327eae899b8c121ee01 Mon Sep 17 00:00:00 2001 From: Isidro Arias Date: Sun, 2 Jun 2024 18:02:45 +0200 Subject: [PATCH 3/4] replaced 11 with 13 --- .github/workflows/tox.yml | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index cbd32fb..7492bfc 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.10', '3.11', '3.12'] + python-version: ['3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v3 diff --git a/tox.ini b/tox.ini index 71b3140..c36d75a 100644 --- a/tox.ini +++ b/tox.ini @@ -32,4 +32,4 @@ commands = flake8 --ignore E501,E701,E203,E704 fortuna python = 3.11: py311, lint, format 3.12: py312 - 3.10: py310 \ No newline at end of file + 3.13: py313 \ No newline at end of file From 4731ad4d7eb2a3aabdfc91e79c5c0805e1b57a10 Mon Sep 17 00:00:00 2001 From: Isidro Arias Date: Sun, 2 Jun 2024 18:03:29 +0200 Subject: [PATCH 4/4] removed 13 --- .github/workflows/tox.yml | 2 +- tox.ini | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 7492bfc..b11e6de 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.11', '3.12', '3.13'] + python-version: ['3.11', '3.12'] steps: - uses: actions/checkout@v3 diff --git a/tox.ini b/tox.ini index c36d75a..1e9ffaf 100644 --- a/tox.ini +++ b/tox.ini @@ -31,5 +31,4 @@ commands = flake8 --ignore E501,E701,E203,E704 fortuna [gh-actions] python = 3.11: py311, lint, format - 3.12: py312 - 3.13: py313 \ No newline at end of file + 3.12: py312 \ No newline at end of file