[#12588] Part of Improve test code coverage of core components #3024
Workflow file for this run
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: Accessibility Tests | |
on: | |
push: | |
branches: | |
- master | |
- release | |
pull_request: | |
branches: | |
- master | |
- release | |
jobs: | |
axe-testing: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
browser: [firefox] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 11 | |
- name: Cache Gradle packages | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('.gradle/*.gradle*', 'build.gradle') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Update Property File | |
run: mv src/e2e/resources/test.ci-${{ matrix.browser }}.properties src/e2e/resources/test.properties | |
- name: Run Solr search service + local Datastore emulator | |
run: docker compose up -d | |
- name: Create Config Files | |
run: ./gradlew createConfigs testClasses generateTypes | |
- name: Install Frontend Dependencies | |
run: npm ci | |
- name: Build Frontend Bundle | |
run: npm run build | |
- name: Start Server | |
run: | | |
./gradlew serverRun & | |
./wait-for-server.sh | |
- name: Start Tests | |
run: xvfb-run --server-args="-screen 0 1024x768x24" ./gradlew axeTests |