perf(driver): let a caller that owns a still DOM pay for the text pre… #593
This file contains hidden or 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: cicd | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: read-all | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Verify Tailwind CSS is up to date | |
| run: | | |
| bash etc/tailwind/tailwind.sh | |
| if ! git diff --exit-code karate-core/src/main/resources/io/karatelabs/output/res/karate-report.css; then | |
| echo "::error::karate-report.css is stale. Run 'bash etc/tailwind/tailwind.sh' locally and commit the regenerated CSS." | |
| exit 1 | |
| fi | |
| - name: Build and test with Maven (cicd profile) | |
| run: mvn -B verify -Pcicd | |
| w3c: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.0 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: W3C WebDriver tests (Selenium containers) | |
| run: mvn -B verify -Pw3c -pl karate-core -am |