diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml new file mode 100644 index 00000000..51c16a88 --- /dev/null +++ b/.github/workflows/actions.yml @@ -0,0 +1,38 @@ +name: First Git Actions + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + + - name: Build and run tests with JaCoCo + run: ./gradlew clean build jacocoTestReport --stacktrace + + - name: SonarCloud Scan + uses: sonarsource/sonarcloud-github-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + + +# - name: Upload test reports +# uses: actions/upload-artifact@v2 +# with: +# name: test-reports +# path: build/test-results/test +# +# - name: Upload code coverage report +# uses: actions/upload-artifact@v2 +# with: +# name: coverage-report +# path: build/reports/coverage/report.csv \ No newline at end of file diff --git a/.run/codesync-intellij [publishPlugin].run.xml b/.run/3- codesync-intellij [publishPlugin].run.xml similarity index 97% rename from .run/codesync-intellij [publishPlugin].run.xml rename to .run/3- codesync-intellij [publishPlugin].run.xml index 1290b521..d3f09903 100644 --- a/.run/codesync-intellij [publishPlugin].run.xml +++ b/.run/3- codesync-intellij [publishPlugin].run.xml @@ -3,7 +3,7 @@