forked from DSpace/dspace-angular
-
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.
Merged changes from dtq-dev and resolved conflicts
- Loading branch information
Showing
32 changed files
with
253 additions
and
231 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 |
---|---|---|
|
@@ -188,31 +188,31 @@ jobs: | |
- name: Shutdown Docker containers | ||
run: docker-compose -f ./docker/docker-compose-ci.yml down | ||
|
||
# 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 | ||
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 | ||
# # 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 | ||
# 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 |
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import subprocess | ||
from datetime import datetime | ||
|
||
if __name__ == '__main__': | ||
ts = datetime.now() | ||
print(f"timestamp: {ts}") | ||
|
||
cmd = 'git log -1 --pretty=format:"%h - %ai"' | ||
print(f">{cmd}") | ||
subprocess.check_call(cmd, shell=True) | ||
|
||
cmd = 'git status --porcelain' | ||
print(f">{cmd}:") | ||
subprocess.check_call(cmd, shell=True) |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.