Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

chore: remove Github actor restriction on release workflow #403

chore: remove Github actor restriction on release workflow

chore: remove Github actor restriction on release workflow #403

Workflow file for this run

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