Skip to content

Commit

Permalink
update gh workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
dualcnhq committed May 22, 2024
1 parent 0fb421e commit 6265802
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
File renamed without changes.
8 changes: 4 additions & 4 deletions .github/workflows/call-run-individual-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Install deps and browsers, run tests, and upload artifacts
on: workflow_call

jobs:
setup:
name: Setup test environment
uses: ./.github/workflows/setup-env.yml
# setup:
# name: Setup test environment
# uses: ./.github/action/setup-env.yml

test:
runs-on: macos-latest
Expand All @@ -23,7 +23,7 @@ jobs:

steps:
- name: Setup test environment
uses: ./setup-env.yml
uses: ./.github/actions/setup-env

- name: Run about tests
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/call-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

steps:
- name: Setup test environment
uses: ./.github/workflows/setup-env.yml
uses: ./.github/actions/setup-env

# - name: Run tests in Chromium browser
# run: npm run test:chrome
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,10 @@ jobs:
# secrets:
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

# setup:
# name: Setup test environment
# uses: ./.github/workflows/setup-env.yml

test:
name: Run tests individually
uses: ./.github/workflows/call-run-individual-tests.yml

# test:
# name: Run tests
# name: Run all tests
# uses: ./.github/workflows/call-run-tests.yml
2 changes: 1 addition & 1 deletion .github/workflows/manual-trigger-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
- name: Setup test environment
uses: ./setup-env.yml
uses: ./.github/actions/setup-env

- shell: bash
env:
Expand Down

0 comments on commit 6265802

Please sign in to comment.