Skip to content

Commit

Permalink
Merge 1e9056e into 7e41421
Browse files Browse the repository at this point in the history
  • Loading branch information
juarezr committed Mar 14, 2024
2 parents 7e41421 + 1e9056e commit ff3c9d5
Showing 1 changed file with 29 additions and 6 deletions.
35 changes: 29 additions & 6 deletions .github/workflows/test-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,30 @@

name: Test Changes

on: [push, pull_request]
on:
push:
branches: [ "master" ]
pull_request:
types: [opened, reopened, synchronize, ready_for_review, labeled]
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
type: choice
options:
- info
- warning
- debug
tags:
description: 'Test scenario tags'
required: false
type: boolean
environment:
description: 'Environment to run tests against'
type: environment
required: true

jobs:
run-guard:
Expand Down Expand Up @@ -50,7 +73,7 @@ jobs:
echo 'python_eol=yes' >> $GITHUB_ENV
- name: Checkout source code
uses: actions/checkout@main
uses: actions/checkout@v4

- name: Install linux tools
if: matrix.os == 'ubuntu-latest'
Expand All @@ -60,13 +83,13 @@ jobs:
- name: Set up Python ${{ matrix.python }}
if: env.python_eol == 'no'
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}

- name: Set up Python ${{ matrix.python }} discontinued on ${{ matrix.os }}
if: env.python_eol == 'yes'
uses: MatteoH2O1999/setup-python@v1
uses: MatteoH2O1999/setup-python@v3
with:
python-version: ${{ matrix.python }}
cache: pip
Expand Down Expand Up @@ -160,10 +183,10 @@ jobs:

steps:
- name: Checkout source code
uses: actions/checkout@main
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}

Expand Down

0 comments on commit ff3c9d5

Please sign in to comment.