diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e55003a7..30477a38 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,25 +1,31 @@ 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 ] + robotframework: + - "3.2.0" + - "4.1.0" + - "5.0.0" + - "6.0.0" + - "6.1.0" 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 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` 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