-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It looks interesting, but I don't have enough time to justify having it everywhere and update it every release just yet
- Loading branch information
1 parent
ec991e4
commit 1dd1faf
Showing
1 changed file
with
0 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -144,41 +144,6 @@ jobs: | |
env: | ||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | ||
COVERALLS_RUN_LOCALLY: ${{ secrets.COVERALLS_RUN_LOCALLY }} | ||
qodana: | ||
name: Qodana | ||
runs-on: ubuntu-latest | ||
needs: | ||
- lint-yaml | ||
- lint-json | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Qodana - Code Inspection | ||
timeout-minutes: 600 | ||
run: docker run -v ${GITHUB_WORKSPACE}:/data/project -v ${GITHUB_WORKSPACE}/qodana:/data/results jetbrains/qodana:2020.3-eap --save-report | ||
- name: Archive results | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: qodana-results | ||
if-no-files-found: error | ||
path: qodana/report/results | ||
- name: Print results | ||
run: | | ||
echo "🎉 Qodana has finished successfully!" | ||
echo "Download an artifact qodana-results.zip. Code Inspection results are part of file result-allProblems.json." | ||
echo "________________________________________________________________" | ||
cat ${GITHUB_WORKSPACE}/qodana/report/results/result-allProblems.json | ||
- name: Archive error logs | ||
uses: actions/upload-artifact@v2 | ||
if: failure() | ||
with: | ||
name: qodana-error-logs | ||
path: qodana | ||
- name: Print error message | ||
if: failure() | ||
run: | | ||
echo "❌ Qodana has failed" | ||
echo "Please contact our support team by email at [email protected]. Attach qodana-error-logs.zip to your message." | ||
lint-yaml: | ||
name: Lint YAML | ||
runs-on: ubuntu-latest | ||
|
@@ -211,7 +176,6 @@ jobs: | |
- lint-json | ||
- qa | ||
- tests-directly-on-os | ||
- qodana | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo "✔️" |