forked from DSpace/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
586 changed files
with
34,070 additions
and
8,194 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
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
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 |
---|---|---|
|
@@ -16,7 +16,11 @@ jobs: | |
# Only add to project board if issue is flagged as "needs triage" or has no labels | ||
# NOTE: By default we flag new issues as "needs triage" in our issue template | ||
if: (contains(github.event.issue.labels.*.name, 'needs triage') || join(github.event.issue.labels.*.name) == '') | ||
<<<<<<< HEAD:.github/disabled-workflows/issue_opened.yml | ||
uses: actions/[email protected] | ||
======= | ||
uses: actions/[email protected] | ||
>>>>>>> dspace-7.6.1:.github/workflows/issue_opened.yml | ||
# Note, the authentication token below is an ORG level Secret. | ||
# It must be created/recreated manually via a personal access token with admin:org, project, public_repo permissions | ||
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#permissions-for-the-github_token | ||
|
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -13,6 +13,9 @@ on: | |
permissions: | ||
contents: read # to fetch code (actions/checkout) | ||
|
||
permissions: | ||
contents: read # to fetch code (actions/checkout) | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
|
@@ -83,8 +86,45 @@ jobs: | |
name: ${{ matrix.type }} results | ||
path: ${{ matrix.resultsdir }} | ||
|
||
# https://github.com/codecov/codecov-action | ||
# Upload code coverage report to artifact, so that it can be shared with the 'codecov' job (see below) | ||
- name: Upload code coverage report to Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ${{ matrix.type }} coverage report | ||
path: 'dspace/target/site/jacoco-aggregate/jacoco.xml' | ||
retention-days: 14 | ||
|
||
# Codecov upload is a separate job in order to allow us to restart this separate from the entire build/test | ||
# job above. This is necessary because Codecov uploads seem to randomly fail at times. | ||
# See https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954 | ||
codecov: | ||
# Must run after 'tests' job above | ||
needs: tests | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
# Download artifacts from previous 'tests' job | ||
- name: Download coverage artifacts | ||
uses: actions/download-artifact@v3 | ||
|
||
# Now attempt upload to Codecov using its action. | ||
# NOTE: We use a retry action to retry the Codecov upload if it fails the first time. | ||
# | ||
# Retry action: https://github.com/marketplace/actions/retry-action | ||
# Codecov action: https://github.com/codecov/codecov-action | ||
- name: Upload coverage to Codecov.io | ||
<<<<<<< HEAD | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos | ||
======= | ||
uses: Wandalen/[email protected] | ||
with: | ||
action: codecov/codecov-action@v3 | ||
# Try upload 5 times max | ||
attempt_limit: 5 | ||
# Run again in 30 seconds | ||
attempt_delay: 30000 | ||
>>>>>>> dspace-7.6.1 |
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
Oops, something went wrong.