-
Notifications
You must be signed in to change notification settings - Fork 330
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CR][ENG-5681] Great Big Python Upgrade (#10648)
- Bump base python version from py3.6 to py3.12. - Switch to using poetry for dependency management - Bump most (not all) dependencies to their maximum version as of mid-March. - Significantly update Dockerfile - Upgrade Django to v4.2 - Generate test summary reports in CI --------- Co-authored-by: Oleh Paduchak <opaduchak@exoft.net> Co-authored-by: Mariia Lychko <lychko.mariia@gmail.com> Co-authored-by: Longze Chen <cslzchen@gmail.com>
- Loading branch information
1 parent
34d5641
commit 8cb3723
Showing
1,258 changed files
with
22,931 additions
and
22,417 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
Oops, something went wrong.