Skip to content

Commit

Permalink
Use 3.12 for formatting check (#3049)
Browse files Browse the repository at this point in the history
* Use 3.12 for formatting check

* Always install `exceptiongroups`

* Install `exceptiongroup` always but not in tests

* Use single quotes in compiled requirements
  • Loading branch information
A5rocks committed Aug 4, 2024
1 parent 20f9291 commit 2d0824f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
no_test_requirements: ['0']
extra_name: ['']
include:
- python: '3.8'
- python: '3.12'
check_formatting: '1'
extra_name: ', check formatting'
# separate test run that doesn't install test-requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ python -m build
python -m pip install dist/*.whl

if [ "$CHECK_FORMATTING" = "1" ]; then
python -m pip install -r test-requirements.txt
python -m pip install -r test-requirements.txt exceptiongroup
echo "::endgroup::"
source check.sh
else
Expand Down

0 comments on commit 2d0824f

Please sign in to comment.