forked from CenterForOpenScience/osf.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CR][ENG-5997] merge develop into b-and-i branch (CenterForOpenScienc…
…e#10691) ## Purpose Bring `feature/b-and-i-24-14` up to date with `develop` (and the upgrade to python v3.12) ## Changes * Some small conflict resolutions * One change to make a `.format()` string an f-string ## QA Notes This may merit a retesting, but I have reviewed the changes in the branch and they all seem pretty compatible with the py3.12 updates. ## Documentation No documentation changes needed. ## Side Effects Devs will need to update their envs for the new py3.12 base. That'll involve pulling images, rebuilding requirements, and maybe something else? ## Ticket https://openscience.atlassian.net/browse/ENG-5997
- Loading branch information
Showing
1,264 changed files
with
22,953 additions
and
22,430 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: 'Generate Report' | ||
description: 'Generate test report from junit xml file' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Generate Report | ||
uses: dorny/test-reporter@v1 | ||
if: success() || failure() # run this step even if previous step failed | ||
with: | ||
name: ${{github.job}} REPORT # Name of the check run which will be created | ||
path: report.xml # Path to test results | ||
reporter: java-junit # Format of test results | ||
max-annotations: 49 | ||
list-tests: failed | ||
list-suites: failed |
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 |
---|---|---|
@@ -1,21 +1,24 @@ | ||
default_language_version: | ||
python: python3.6 | ||
python: python3.12 | ||
repos: | ||
- repo: https://github.com/asottile/add-trailing-comma | ||
rev: v0.7.0 | ||
rev: v3.1.0 | ||
hooks: | ||
- id: add-trailing-comma | ||
# TODO: Remove this line. For now, we only format the api/ directory | ||
files: ^api/ | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v1.4.0 | ||
rev: v4.6.0 | ||
hooks: | ||
- id: double-quote-string-fixer | ||
- id: trailing-whitespace | ||
exclude: "^(website/static/vendor/|osf/metadata/definitions/.*\\.xsd)" | ||
- id: flake8 | ||
additional_dependencies: ["flake8==3.6.0", "flake8-mutable==1.2.0"] | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: '7.0.0' # pick a git hash / tag to point to | ||
hooks: | ||
- id: flake8 | ||
additional_dependencies: ["flake8-mutable==1.2.0"] | ||
- repo: https://github.com/pre-commit/mirrors-jshint | ||
rev: v2.9.6 | ||
rev: v2.13.6 | ||
hooks: | ||
- id: jshint |
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
Oops, something went wrong.