Skip to content

fix artifacts publishing #44

fix artifacts publishing

fix artifacts publishing #44

Workflow file for this run

name: Run E2E tests
on:
push:
branches: [ fabrizio.scarponi/e2e-test ]
jobs:
run-e2e-tests:
continue-on-error: true
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
# gradle-versions: [ '5.6.4', '6.9.2', '7.6.4', '8.6', 'latest' ]
gradle-versions: [ '6.9.2', '8.6' ]
name: Gradle ${{ matrix.gradle-versions }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: gradle/gradle-build-action@v2
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: |
8
17
distribution: 'temurin'
cache: gradle
- name: Run Gradle tests
env:
GRADLE_VERSION: ${{ matrix.gradle-versions }}
GRADLE_ENTERPRISE_KEY: ${{ secrets.GRADLE_ENTERPRISE_KEY }}
run: ./gradlew :plugin:test
- name: Upload test result
if: always()
uses: actions/upload-artifact@v4
with:
name: testResult-${{ matrix.os }}-${{ matrix.gradle-versions }}
path: /Users/runner/work/package-search-intellij-plugin/package-search-intellij-plugin/plugin/build/testData