Skip to content

Commit

Permalink
Windows run for PR to main is updated
Browse files Browse the repository at this point in the history
Signed-off-by: Jitendra Gundaniya <[email protected]>
  • Loading branch information
jitu5 committed Apr 16, 2024
1 parent 85f5f52 commit 5a3dba6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/actions/install_node_dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ runs:
restore-keys: "${{ runner.os }}-node-"

- name: Install Node Dependencies
run: npm ci
run: npm install
shell: bash
10 changes: 2 additions & 8 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,13 @@ jobs:
runs-on: ${{ inputs.os }}

# below condition checks if the operating system is Ubuntu, or
# Run on Windows and
# main/demo branch or
# pull request to main with Python 3.10
# if the operating system is Windows and the branch is main/demo
if: >
inputs.os == 'ubuntu-latest' ||
(
(
github.ref == 'refs/heads/main' ||
github.ref == 'refs/heads/demo' ||
(
github.event.pull_request.base.ref == 'main' &&
inputs.python-version == '3.10'
)
github.ref == 'refs/heads/demo'
) &&
inputs.os == 'windows-latest'
)
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,13 @@ jobs:
runs-on: ${{ inputs.os }}

# below condition checks if the operating system is Ubuntu, or
# Run on Windows and
# main/demo branch or
# pull request to main with Python 3.10
# if the operating system is Windows and the branch is main/demo
if: >
inputs.os == 'ubuntu-latest' ||
(
(
github.ref == 'refs/heads/main' ||
github.ref == 'refs/heads/demo' ||
(
github.event.pull_request.base.ref == 'main' &&
inputs.python-version == '3.10'
)
github.ref == 'refs/heads/demo'
) &&
inputs.os == 'windows-latest'
)
Expand Down

0 comments on commit 5a3dba6

Please sign in to comment.