build(deps): bump org.springframework:spring-test from 5.3.27 to 6.2.1 in /backend #18
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
# Copyright 2022 Google LLC | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
# A workflow that runs tests on every new pull request | |
name: Test Android app and compile backend tests | |
on: | |
repository_dispatch: | |
types: [test] | |
push: | |
branches-ignore: ['gh-pages'] | |
pull_request: | |
branches-ignore: ['gh-pages'] | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Generate Android gradle wrapper | |
working-directory: ./android_driverapp_samples | |
run: | | |
gradle wrapper | |
- name: Test Android | |
working-directory: ./android_driverapp_samples | |
run: ./gradlew test | |
- name: Generate backend gradle wrapper | |
working-directory: ./backend | |
run: | | |
gradle wrapper | |
# Test credentials were never set up. So, we can't run tests, but we can make sure it compiles. | |
- name: Compile backend tests (no test execution) | |
working-directory: ./backend | |
run: ./gradlew testClasses |