-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2447 from cta-observatory/bump-setuptools-version
Bump setuptools and setuptools scm versions
- Loading branch information
Showing
2 changed files
with
10 additions
and
9 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 |
---|---|---|
|
@@ -24,6 +24,10 @@ jobs: | |
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.9" | ||
- name: Check README syntax | ||
run: | | ||
pip install restructuredtext-lint | ||
restructuredtext-lint README.rst | ||
- uses: pre-commit/[email protected] | ||
with: | ||
extra_args: --files $(git diff origin/main --name-only) | ||
|
@@ -96,7 +100,7 @@ jobs: | |
python-version: ${{ matrix.python-version }} | ||
check-latest: true | ||
|
||
- if: ${{ matrix.install-method == 'pip' && runner.os == 'macOS' }} && contains(github.event.pull_request.labels.*.name, 'documentation-only') == false | ||
- if: matrix.install-method == 'pip' && runner.os == 'macOS' && contains(github.event.pull_request.labels.*.name, 'documentation-only') == false | ||
name: Fix Python PATH on macOS | ||
# See https://github.com/actions/setup-python/issues/132 and | ||
# https://github.com/actions/setup-python/issues/132#issuecomment-779406058 | ||
|
@@ -108,18 +112,15 @@ jobs: | |
- name: Install dependencies | ||
if: contains(github.event.pull_request.labels.*.name, 'documentation-only') == false | ||
env: | ||
PYTHON_VERSION: ${{ matrix.python-version }} | ||
run: | | ||
python --version | ||
pip install pytest-cov restructuredtext-lint pytest-xdist 'coverage!=6.3.0' | ||
python --version | grep "Python ${PYTHON_VERSION}" | ||
pip install pytest-cov pytest-xdist 'coverage!=6.3.0' | ||
pip install .[all] | ||
pip install ./test_plugin | ||
pip freeze | ||
- name: Static codechecks | ||
if: contains(github.event.pull_request.labels.*.name, 'documentation-only') == false | ||
run: | | ||
restructuredtext-lint README.rst | ||
- name: ctapipe-info | ||
if: contains(github.event.pull_request.labels.*.name, 'documentation-only') == false | ||
run: | | ||
|
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