Skip to content

Commit

Permalink
Docker Web Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tauqirsarwar1 committed Mar 20, 2024
1 parent a18a9bc commit aac7b9f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker_ui_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Python
id: setup_python
uses: actions/setup-python@v5
with:
python-version: "3.9"
Expand All @@ -100,10 +101,12 @@ jobs:
run: sleep 30

- name: Setup dependencies
id: setup_dependencies
run: |
sh install.sh
- name: Run All Tests
if: steps.setup_dependencies.outcome == 'success'
run: |
env
source $HOME/.bp-venv/bin/activate
Expand Down Expand Up @@ -197,7 +200,7 @@ jobs:
BASE_URL="${{ github.event.inputs.baseurl }}"
fi
number_of_threads=1
concurrent_thread=3
if [[ "${{ github.event.inputs.browser }}" == "chrome" ]]; then
BROWSER=./configs/docker_chrome.json
Expand All @@ -217,7 +220,7 @@ jobs:
--variables "$BROWSER" \
--reruns 1 --reruns-delay 5 \
--tags="$TAGS" --base-url="$BASE_URL" --html=report.html \
--self-contained-html -n 3
--self-contained-html -n "${{ concurrent_thread }}"
- name: Docker Container Stop
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ui_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ jobs:
BASE_URL="${{ github.event.inputs.baseurl }}"
fi
number_of_threads=1
concurrent_thread=2
if [[ "${{ github.event.inputs.browser }}" == "chrome" && "${{ github.event.inputs.os }}" == "window" ]]; then
BROWSER=./configs/win_chrome.json
Expand Down Expand Up @@ -308,7 +308,7 @@ jobs:
--capability headless False \
--reruns 1 --reruns-delay 5 \
--tags="$TAGS" --base-url="$BASE_URL" --html=report.html \
--self-contained-html -n 2
--self-contained-html -n ${{ concurrent_thread }}
- name: BrowserStackLocal Stop
uses: browserstack/github-actions/setup-local@master
Expand Down

0 comments on commit aac7b9f

Please sign in to comment.