Small fix to resolve #297 #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test staticSearch | |
on: | |
push: | |
repository_dispatch: | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: false | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
# First checkout this repo | |
- name: Self checkout | |
uses: actions/checkout@v4 | |
# Build everything | |
- name: Run test | |
run: ant -f ${{ github.workspace }}/build.xml test | |
browser: | |
name: Browser Test | |
runs-on: ubuntu-latest | |
steps: | |
# First checkout this repo | |
- name: Self checkout | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
- name: Install Playwright | |
run: npm install @playwright/test @types/node | |
- name: Install Browsers | |
run: npx playwright install --with-deps chromium | |
# Build everything | |
- name: Run test | |
run: ant -f ${{ github.workspace }}/build.xml test | |
- name: Run Playwright Tests | |
run: npx playwright test --config ${{ github.workspace }}/ci/playwright.config.js | |
- name: Save test results | |
uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: test-results | |
path: ${{ github.workspace }}/ci/test-results | |
retention-days: 30 | |