Skip to content

Commit

Permalink
Enhance CI workflow: add sleep command to environment variable setup …
Browse files Browse the repository at this point in the history
…for macOS and Windows to allow server to receive requests
  • Loading branch information
tsviz committed Dec 2, 2024
1 parent 8a32ef9 commit 652308d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,17 +104,19 @@ jobs:
with:
dotnet-version: '6.0.x'

- name: Set Environment Variables for macOS
- name: Set Environment Variables for macOS and sleep to allow server recieve requests
if: matrix.os == 'macos-latest'
run: |
echo "TEST_USER=user1" >> $GITHUB_ENV
echo "TEST_ADMIN_USER=admin1" >> $GITHUB_ENV
sleep 30s
- name: Set Environment Variables for Windows
- name: Set Environment Variables for Windows and sleep to allow server recieve requests
if: matrix.os == 'windows-latest'
run: |
echo "TEST_USER=user2" >> $GITHUB_ENV
echo "TEST_ADMIN_USER=admin2" >> $GITHUB_ENV
sleep 30s
- name: Run UI Automated Selenium Tests
run: |
Expand Down

0 comments on commit 652308d

Please sign in to comment.