-
Notifications
You must be signed in to change notification settings - Fork 46
feat: make jar release condition to unit and replay passing by default' #2469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: arith-dev
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,53 @@ | |||||||||||||||||||||||
| name: "Reusable fast replay tests workflow" | |||||||||||||||||||||||
|
|
|||||||||||||||||||||||
| on: | |||||||||||||||||||||||
| workflow_call: | |||||||||||||||||||||||
| inputs: | |||||||||||||||||||||||
| tests-with-ssh: | |||||||||||||||||||||||
| required: true | |||||||||||||||||||||||
| type: boolean | |||||||||||||||||||||||
|
|
|||||||||||||||||||||||
| jobs: | |||||||||||||||||||||||
| # ================================================================== | |||||||||||||||||||||||
| # Fast replay Tests | |||||||||||||||||||||||
| # ================================================================== | |||||||||||||||||||||||
| fast-replay-tests: | |||||||||||||||||||||||
| runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-xxl | |||||||||||||||||||||||
| steps: | |||||||||||||||||||||||
| - name: Checkout repository | |||||||||||||||||||||||
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |||||||||||||||||||||||
| with: | |||||||||||||||||||||||
| submodules: false | |||||||||||||||||||||||
|
|
|||||||||||||||||||||||
| - name: Setup Environment | |||||||||||||||||||||||
| uses: ./.github/actions/setup-environment | |||||||||||||||||||||||
| with: | |||||||||||||||||||||||
| enable-ssh: ${{ inputs.tests-with-ssh }} | |||||||||||||||||||||||
|
|
|||||||||||||||||||||||
| - name: Run replay tests | |||||||||||||||||||||||
| run: GOMEMLIMIT=26GiB ./gradlew :arithmetization:fastReplayTests | |||||||||||||||||||||||
| env: | |||||||||||||||||||||||
| JAVA_OPTS: -Dorg.gradle.daemon=false | |||||||||||||||||||||||
| JUNIT_TESTS_PARALLELISM: 4 | |||||||||||||||||||||||
| GOCORSET_FLAGS: -b1024 -v --ansi-escapes=false --report --air | |||||||||||||||||||||||
|
|
|||||||||||||||||||||||
| - name: Upload test report | |||||||||||||||||||||||
| if: ${{ always() }} | |||||||||||||||||||||||
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |||||||||||||||||||||||
| with: | |||||||||||||||||||||||
| name: replay-tests-report | |||||||||||||||||||||||
| path: arithmetization/build/reports/tests/**/* | |||||||||||||||||||||||
|
|
|||||||||||||||||||||||
| - name: Upload jacoco fast replay tests coverage report | |||||||||||||||||||||||
| if: always() | |||||||||||||||||||||||
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |||||||||||||||||||||||
| with: | |||||||||||||||||||||||
| name: jacoco-fast-replay-tests-coverage-report | |||||||||||||||||||||||
| path: arithmetization/build/reports/jacoco/jacocoFastReplayTestsReport/**/* | |||||||||||||||||||||||
|
|
|||||||||||||||||||||||
| - name: Upload jacoco fast replay tests exec file | |||||||||||||||||||||||
| if: always() | |||||||||||||||||||||||
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |||||||||||||||||||||||
| with: | |||||||||||||||||||||||
| name: jacoco-fast-replay-tests-exec-file | |||||||||||||||||||||||
| path: arithmetization/build/jacoco/fastReplayTests.exec | |||||||||||||||||||||||
|
Comment on lines
+17
to
+55
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Copilot AutofixAI about 13 hours ago To address the problem, we should explicitly add a
Suggested changeset
1
.github/workflows/reusable-fast-replay-tests.yml
Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated
Positive FeedbackNegative Feedback
Refresh and try again.
|
|||||||||||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.