Skip to content

Commit

Permalink
try out GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent committed Jan 26, 2024
1 parent c8a2ef0 commit e2b4257
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/appiumV2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- uses: actions/checkout@v4
- name: Appium common steps
uses: ./.github/actions/checkoutAndInstallLibs.steps.yml
uses: CodeceptJS/CodeceptJS/.github/actions/checkoutAndInstallLibs.steps.yml

- name: Run Appium Tests
run: npm run test:${{ matrix.test-suite }}
2 changes: 1 addition & 1 deletion .github/workflows/doc-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Checkout and install dependencies steps
uses: ./.github/actions/checkoutAndInstallLibs.steps.yml
uses: CodeceptJS/CodeceptJS/.github/actions/checkoutAndInstallLibs.steps.yml

- name: Configure git user
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dtslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Checkout and install dependencies steps
uses: ./.github/actions/checkoutAndInstallLibs.steps.yml
uses: CodeceptJS/CodeceptJS/.github/actions/checkoutAndInstallLibs.steps.yml

- run: npm run def && npm run dtslint
2 changes: 1 addition & 1 deletion .github/workflows/expectHelper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- uses: actions/checkout@v4
- name: Checkout and install dependencies steps
uses: ./.github/actions/checkoutAndInstallLibs.steps.yml
uses: CodeceptJS/CodeceptJS/.github/actions/checkoutAndInstallLibs.steps.yml

- name: run unit tests
run: ./node_modules/.bin/mocha test/helper/Expect_test.js --timeout 5000
8 changes: 4 additions & 4 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:

steps:
- name: Checkout and install dependencies steps
uses: ./.github/actions/checkoutAndInstallLibs.steps.yml
uses: CodeceptJS/CodeceptJS/.github/actions/checkoutAndInstallLibs.steps.yml

- name: Playwright common steps
uses: ./.github/actions/playwright.steps.yml
uses: CodeceptJS/CodeceptJS/.github/actions/playwright.steps.yml

- name: run chromium unit tests
run: ./node_modules/.bin/mocha test/helper/Playwright_test.js --timeout 5000
Expand All @@ -51,10 +51,10 @@ jobs:

- uses: actions/checkout@v4
- name: Checkout and install dependencies steps
uses: ./.github/actions/checkoutAndInstallLibs.steps.yml
uses: CodeceptJS/CodeceptJS/.github/actions/checkoutAndInstallLibs.steps.yml

- name: Playwright common steps
uses: ./.github/actions/playwright.steps.yml
uses: CodeceptJS/CodeceptJS/.github/actions/playwright.steps.yml

- name: run ${{ matrix.browser }} tests
run: BROWSER=${{ matrix.browser }} node ./bin/codecept.js run -c test/acceptance/codecept.Playwright.js --grep @Playwright --debug
Expand Down

0 comments on commit e2b4257

Please sign in to comment.