Skip to content

Commit

Permalink
add a workflow to run the image test
Browse files Browse the repository at this point in the history
  • Loading branch information
RFSH authored Mar 14, 2024
1 parent 1274ca2 commit 5ae9d08
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test-image-table.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on: workflow_dispatch

jobs:
test-image-table:
runs-on: ubuntu-20.04
env:
TEST_COUNT: 2
PAGE_SIZE: 100
steps:
- name: Checkout repository code
uses: actions/checkout@v4
with:
path: deriva-load-testing
- name: Install dependencies
run: |
cd deriva-load-testing/playwright
make deps
- name: Run the test
run: |
cd deriva-load-testing/playwright
npx playwright test image.spec.ts
- name: Upload the test result
uses: actions/upload-artifact@v4
with:
name: test-image-table-report.json
path: deriva-load-testing/playwright/test-report.json
retention-days: 30

0 comments on commit 5ae9d08

Please sign in to comment.