Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/IJ-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build --continue -PideaVersion=IU-LATEST-EAP-SNAPSHOT
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: test-reports
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
echo ${{ github.event.number }} > ./prInfo/PR
echo ${{ github.base_ref }} > ./prInfo/base_ref
echo ${{ github.head_ref }} > ./prInfo/head_ref
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: prInfo
path: prInfo/
Expand All @@ -47,7 +47,7 @@ jobs:
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build --continue --no-daemon
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: ${{ matrix.os }}-test-reports
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
# Xvfb -ac :99 -screen 0 1920x1080x16 &
# sleep 10
# ./gradlew integrationUITest --info --continue
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: kubernetes-integration-tests-reports
Expand Down
29 changes: 4 additions & 25 deletions .github/workflows/publish_reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/[email protected]
uses: actions/download-artifact@v4
with:
script: |
var artifacts = await github.rest.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: ${{github.event.workflow_run.id}},
});
for (var artifact of artifacts.data.artifacts) {
if (artifact.name.endsWith('test-reports')) {
var zipfile = await github.rest.actions.downloadArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
artifact_id: artifact.id,
archive_format: 'zip',
});
var fs = require('fs');
var path = require('path');
var pathFile = path.format({
root: '${{github.workspace}}/',
name: artifact.name,
ext: '.zip'
});
fs.writeFileSync(pathFile, Buffer.from(zipfile.data));
}
}
path: reports
pattern: '*-test-reports'
merge-multiple: true
- name: Unzip artifacts
run: |
find . -name '*.zip' -exec sh -c 'unzip -d "${1%.*}" "$1"' _ {} \;
Expand Down
40 changes: 14 additions & 26 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,33 +19,21 @@ jobs:
java-version: 17
distribution: 'temurin'
cache: 'gradle'
- name: Download artifacts
uses: actions/[email protected]
- name: Download IntegrationTest report
uses: actions/download-artifact@v4
with:
script: |
var artifacts = await github.rest.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: ${{github.event.workflow_run.id}},
});
for (var artifact of artifacts.data.artifacts) {
if (artifact.name == 'kubernetes-integration-tests-reports' || artifact.name == 'ubuntu-latest-test-reports' || artifact.name == 'prInfo') {
var zipfile = await github.rest.actions.downloadArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
artifact_id: artifact.id,
archive_format: 'zip',
});
var fs = require('fs');
var path = require('path');
var pathFile = path.format({
root: '${{github.workspace}}/',
name: artifact.name,
ext: '.zip'
});
fs.writeFileSync(pathFile, Buffer.from(zipfile.data));
}
}
path: kubernetes-integration-tests-reports
pattern: kubernetes-integration-tests-reports
- name: Download UnitTest report
uses: actions/download-artifact@v4
with:
path: ubuntu-latest-test-reports
pattern: ubuntu-latest-test-reports
- name: Download PrInfo
uses: actions/download-artifact@v4
with:
path: prInfo
pattern: prInfo
- name: Unzip artifacts
run: |
find . -name '*.zip' -exec sh -c 'unzip -d "${{github.workspace}}/build" "$1"' _ {} \;
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate_IJ_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
- name: Verify with Gradle
run: ./gradlew runPluginVerifier -PideaVersion=${{ matrix.IJ }}
- name: Upload report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: verifier-report
name: ${{ matrix.IJ }}-verifier-report
path: build/reports/pluginVerifier