Bump io.grpc:grpc-protobuf from 1.63.0 to 1.64.0 in /finish #254
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: Test application | |
on: | |
pull_request: | |
branches: [ prod, staging ] | |
jobs: | |
check-files: | |
if: ${{ github.event_name == 'pull_request' }} | |
runs-on: ubuntu-latest | |
outputs: | |
canSkip: ${{ steps.Checker.outputs.canSkip }} | |
steps: | |
- name: Get files | |
uses: actions/checkout@v2 | |
- name: Get tools | |
uses: actions/checkout@v2 | |
with: | |
path: tools/ | |
repository: openliberty/guides-common | |
- id: Checker | |
shell: bash | |
run: bash ./tools/pr-checker/checker.sh ${{ github.repository }} ${{ github.event.pull_request.number }} | tee checker.log | |
- id: Lint-Code-Base | |
if: "! github.event.pull_request.head.repo.fork" | |
uses: github/super-linter@latest | |
env: | |
VALIDATE_ALL_CODEBASE: false | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
DEFAULT_BRANCH: prod # todo remove after publishing | |
LINTER_RULES_PATH: ./tools/pr-checker/linters/ | |
VALIDATE_DOCKERFILE: true | |
VALIDATE_JAVA: true | |
VALIDATE_YAML: true | |
- name: Summary | |
if: "! github.event.pull_request.head.repo.fork" | |
run: | | |
< ./checker.log tail -n +2; echo "====== Super Linter ======" | |
< ./super-linter.log sed -n '/.*The script has completed.*/,$p' | tail -n +4 | sed 's/.*\(\[[A-Z]\+\]\)/\1/' | |
echo "====== Examine logs in Checker and Super-Linter steps for more details ======" | |
if [ '${{ steps.Checker.outcome }}' != 'success' ] || [ '${{ steps.Lint-Code-Base.outcome }}' != 'success' ]; then exit 1; fi | |
test-app: | |
runs-on: ubuntu-latest | |
needs: [check-files] | |
if: "!contains(needs.check-files.outputs.canSkip, 'true')" | |
defaults: | |
run: | |
working-directory: finish | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- run: unset _JAVA_OPTIONS | |
- name: Run tests | |
run: ../scripts/testApp.sh | |
- name: Post tests | |
if: always() | |
run: | | |
logsPath=$(find . -name "console.log" | grep query); | |
< "$logsPath" grep Launching | |
logsPath=$(find . -name "console.log" | grep system); | |
< "$logsPath" grep Launching | |
- name: Archive server logs if failed | |
if: failure() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: server-logs | |
path: finish/target/liberty/wlp/usr/servers/defaultServer/logs/ | |