This repository has been archived by the owner on Feb 14, 2024. It is now read-only.
chore: remove buy crypto workflow (#145) #394
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 | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Run unit tests and publish coverage | |
uses: paambaati/[email protected] | |
env: | |
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | |
JACOCO_SOURCE_PATH: "imx-core-sdk-kotlin-jvm/src/main/kotlin" | |
with: | |
coverageCommand: ./gradlew imx-core-sdk-kotlin-jvm:testCoverage --stacktrace | |
coverageLocations: imx-core-sdk-kotlin-jvm/build/reports/jacoco/testCoverage/testCoverage.xml:jacoco | |
- name: Unit tests results | |
uses: actions/upload-artifact@v1 | |
with: | |
name: unit-tests-results | |
path: imx-core-sdk-kotlin-jvm/build/reports/tests/test |