Skip to content

Commit

Permalink
Remove python version input from test workflow and set default to Pyt…
Browse files Browse the repository at this point in the history
…hon 3.11
  • Loading branch information
G-D-Petrov committed Dec 31, 2024
1 parent c59a605 commit 4fec2eb
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/run_specific_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Run specific tests
on:
workflow_dispatch:
inputs:
python3:
type: string
description: 'List of python versions to test against (comma separated)'
default: "[9, 10]"
# python3:
# type: string
# description: 'List of python versions to test against (comma separated)'
# default: "[9, 10]"
os:
type: string
description: 'List of operating systems to test against (comma separated)'
Expand All @@ -22,13 +22,11 @@ jobs:
strategy:
fail-fast: false
matrix:
python3: ${{ fromJson(inputs.python3 || '["9", "10"]') }}
os: ${{ fromJson(github.event.inputs.os || '["linux", "windows"]') }}
test_suite: ${{ fromJson(github.event.inputs.test_suite || '["tests/unit", "tests/integration"]') }}
name: Run tests on python 3.${{ matrix.python3 }} and ${{ matrix.os }} with ${{ matrix.test_suite }} test suite
name: Run tests on python 3.11 and ${{ matrix.os }} with ${{ matrix.test_suite }} test suite
uses: ./.github/workflows/run_specific_tests_on_matrix.yml
secrets: inherit
with:
python3: ${{ matrix.python3 }}
os: ${{ matrix.os }}
test_suite: ${{ matrix.test_suite }}

0 comments on commit 4fec2eb

Please sign in to comment.