OD-19241 feat: allow all custom field types for survey forms #6263
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: Client test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
client-tests: | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
strategy: | |
matrix: | |
java: [11] | |
steps: | |
- uses: actions/checkout@v2 | |
- id: skip_check | |
uses: fkirc/[email protected] | |
with: | |
cancel_others: 'true' | |
skip_after_successful_duplicate: 'true' | |
paths_ignore: '["server/**", "server-api/**", "api-doc/**", "api-test/**", "types/**"]' | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Cache | |
uses: actions/cache@v2 | |
with: | |
path: | | |
**/node_modules | |
~/.build | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ matrix.java }}-node-${{ hashFiles('**/package-lock.json') }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: ${{ matrix.java }}- | |
- name: Run tests | |
if: ${{ steps.skip_check.outputs.should_skip != 'true' }} | |
run: ./gradlew client-html:jest | |
- name: Publish test results | |
uses: EnricoMi/publish-unit-test-result-action@v1 | |
if: ${{ steps.skip_check.outputs.should_skip != 'true' }} | |
with: | |
files: '**/test-results/**/*.xml' | |
# - name: Upload coverage to Codecov | |
# if: ${{ steps.skip_check.outputs.should_skip != 'true' }} | |
# uses: codecov/codecov-action@v1 | |
# with: | |
# token: ${{ secrets.CODECOV_TOKEN }} | |
# flags: jest | |
# directory: client-html/build/reports/test | |
# - name: Upload coverage to codeclimate | |
# uses: paambaati/[email protected] | |
# env: | |
# CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}} | |
# with: | |
# workingDirectory: '${{github.workspace}}/client-html/src/js' | |
# coverageLocations: '${{github.workspace}}/client-html/build/reports/**/*.lcov:lcov' |