Skip to content

Commit 2185fad

Browse files
chore: update GitHub Actions workflow for Selenium testing by refining branch specifications and commenting out unused sections
1 parent 156423f commit 2185fad

File tree

1 file changed

+22
-7
lines changed

1 file changed

+22
-7
lines changed

.github/python-selenium-ci-workflow.yaml

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,36 @@ description: This workflow tests the react app with selenium using python to run
55

66
run-name: "${{ github.actor }}-${{ github.run_id }}-${{ github.event_name }}-react-app-test-selenium-ci"
77

8-
concurrency:
9-
group: default #limit concurrency to one job at a time (priority to the latest job)
8+
# concurrency:
9+
# group: default #limit concurrency to one job at a time (priority to the latest job)
1010

1111
on:
1212
push:
13-
branches:
14-
- main
13+
branches: [ main ]
1514
pull_request:
16-
branches:
17-
- main
15+
branches: [ main ]
1816
workflow_dispatch:
1917

2018

2119
jobs:
22-
20+
# sonarcloud:
21+
# runs-on: ubuntu-latest
22+
# env:
23+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
25+
# permissions:
26+
# contents: read
27+
# steps:
28+
# - name: Checkout code
29+
# uses: actions/checkout@v2
30+
31+
# - name: SonarCloud Scan
32+
# uses: sonarsource/sonarcloud-github-action@master
33+
# with:
34+
# args: sonar-scanner -Dsonar.projectKey=your_project_key -Dsonar.organization=your_organization_name -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${{ secrets.SONAR_TOKEN }}
35+
# env:
36+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
2338

2439
selenium:
2540
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)