From bd1df7b6d348a36f9201a22a596e4de63c9c89fb Mon Sep 17 00:00:00 2001 From: Nestor Acuna-Blanco Date: Fri, 12 May 2023 08:23:32 +0200 Subject: [PATCH 1/3] remove support for python2 in the tests. --- .github/workflows/ci.yml | 7 ++----- tox.ini | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e55003a7..96744d4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,15 +1,13 @@ name: CI -on: [push, pull_request] +on: [ push ] jobs: build: - runs-on: ubuntu-latest strategy: matrix: - python: [3.8, 3.9, 3.11] - + python: [ 3.8, 3.9, 3.11 ] steps: - uses: actions/checkout@v2 - name: Setup Python @@ -20,7 +18,6 @@ jobs: run: | pip install tox pip install -r ./requirements.txt - - name: Run Tox # Run tox using the version of Python in `PATH` run: tox -e py diff --git a/tox.ini b/tox.ini index 8af8ba22..eedeb610 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ # content of: tox.ini , put in same dir as setup.py [tox] -envlist = py27,py39 +envlist = py39 [testenv] # install pytest in the virtualenv where commands will be executed From 1721b0753d51f685c0faee23c6e2f4ca4f0ec57f Mon Sep 17 00:00:00 2001 From: Reuben Miller Date: Wed, 10 Jan 2024 14:09:12 +0100 Subject: [PATCH 2/3] update github actions --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e55003a7..48b6873d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,9 +11,9 @@ jobs: python: [3.8, 3.9, 3.11] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} - name: Install Tox and any other packages From ce51de85b6bbf08ed7a06c2702e6a7fa0d588591 Mon Sep 17 00:00:00 2001 From: Reuben Miller Date: Wed, 10 Jan 2024 14:09:37 +0100 Subject: [PATCH 3/3] ci: test against multiple versions of robotframework --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48b6873d..f3bb0d4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,12 @@ jobs: strategy: matrix: python: [3.8, 3.9, 3.11] + robotframework: + - "3.2.0" + - "4.1.0" + - "5.0.0" + - "6.0.0" + - "6.1.0" steps: - uses: actions/checkout@v4 @@ -20,6 +26,7 @@ jobs: run: | pip install tox pip install -r ./requirements.txt + pip install "robotframework~=${{ matrix.robotframework }}" - name: Run Tox # Run tox using the version of Python in `PATH`