Skip to content

CICD: refactor pipeline #9

CICD: refactor pipeline

CICD: refactor pipeline #9

Workflow file for this run

name: Tests simple
on:
push:
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
generate-matrix:
runs-on: ubuntu-latest
outputs:
python-versions: ${{ steps.generate-matrix.outputs.PYTHONS }}
rf-versions: ${{ steps.generate-matrix.outputs.RF_VERSIONS }}
steps:
- name: "Generate Matrix"
id: generate-matrix
run: |
#echo 'PYTHONS=["3.10.11", "3.11.6", "3.12.0"]' >> $GITHUB_OUTPUT
#echo 'RF_VERSIONS=["3.2.2", "4.1.3", "5.0.1", "6.1.1"]' >> $GITHUB_OUTPUT
echo 'PYTHONS=["3.10.11"]' >> $GITHUB_OUTPUT
echo 'RF_VERSIONS=["6.1.1"]' >> $GITHUB_OUTPUT
windows:
needs:
- generate-matrix
strategy:
fail-fast: false
matrix:
python: ${{ fromJSON(needs.generate-matrix.outputs.python-versions) }}
rf-version: ${{ fromJSON(needs.generate-matrix.outputs.rf-versions) }}
runs-on: windows-latest
name: Windows (${{ matrix.python }}, robotframework-${{ matrix.rf-version }})
steps:
- name: "Run tests"
uses: ./.github/workflows/run-tests.yml
with:
python-version: ${{ matrix.python }}
rf-version: ${{ matrix.rf-version }}