Skip to content

Add span report to local testing task (#65) #131

Add span report to local testing task (#65)

Add span report to local testing task (#65) #131

name: Gradle-plugin checks
on:
push:
branches:
- main
pull_request:
branches:
- main
paths:
- gradle-plugin/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDKs
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 17
- name: Run build
run: ./gradlew :gradle-plugin:build
unit_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDKs
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 17
- name: Run unit tests
run: ./gradlew :gradle-plugin:plugin:test
functional_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDKs
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: |
11
17
- name: Run functional tests
run: ./gradlew :gradle-plugin:plugin:functionalTest
- name: Archive test reports
uses: actions/upload-artifact@v2
if: always()
with:
name: Functional test reports
path: '**/build/reports/tests/functionalTest'