Merge pull request #268 from emeraldpay/fix/http-429-errors #531
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: Tests | |
on: | |
# if pushed directly | |
push: | |
branches: | |
- master | |
- release/* | |
- ci/* | |
# on a pull request | |
pull_request: | |
branches: | |
- master | |
- release/* | |
- ci/* | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Install System Libs | |
run: sudo apt-get install -y openssl libapr1 | |
- name: Check | |
uses: eskatos/gradle-command-action@v1 | |
with: | |
arguments: check | |
env: | |
CI: true | |
- name: Upload Coverage Report | |
uses: codecov/codecov-action@v1 | |
with: | |
file: ./build/reports/jacoco/test/jacocoTestReport.xml |