Skip to content

Commit

Permalink
GHA: update Python- and RF versions used in cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
Tattoo committed Oct 15, 2023
1 parent e9845ab commit 8c1271f
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
name: Tests

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events
push:
pull_request:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
variables:
python: ['python310', 'python311', 'python312']
rfVersion: ['3.2.2', '4.1', '6.1.1'] #TODO add RF5

jobs:

# Running tests on Windows under Windows Subsystem for Linux (WSL)
windows:
strategy:
fail-fast: false
matrix:
python: [python38, python39]
rfVersion: ['3.1.2', '3.2', '3.2.1', '3.2.2', '4.0', '4.0.1', '4.0.2', '4.0.3', '4.1']
python: ${{ python }}
rfVersion: ${{ rfVersion }}
runs-on: windows-latest
name: Windows (${{ matrix.python }}, robotframework-${{ matrix.rfVersion }})
defaults:
Expand Down Expand Up @@ -61,8 +62,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [python38, python39]
rfVersion: ['3.1.2', '3.2', '3.2.1', '3.2.2', '4.0', '4.0.1', '4.0.2', '4.0.3', '4.1']
python: ${{ python }}
rfVersion: ${{ rfVersion }}
runs-on: ubuntu-latest
name: Linux (${{ matrix.python }}, robotframework-${{ matrix.rfVersion }})
steps:
Expand All @@ -79,8 +80,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [python38, python39]
rfVersion: ['3.1.2', '3.2', '3.2.1', '3.2.2', '4.0', '4.0.1', '4.0.2', '4.0.3', '4.1']
python: ${{ python }}
rfVersion: ${{ rfVersion }}
runs-on: macos-latest
name: MacOS (${{ matrix.python }}, robotframework-${{ matrix.rfVersion }})
steps:
Expand Down

0 comments on commit 8c1271f

Please sign in to comment.