-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into SYNPY-1304-otel-in-synpy
- Loading branch information
Showing
40 changed files
with
587 additions
and
547 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 |
---|---|---|
|
@@ -26,8 +26,19 @@ on: | |
|
||
jobs: | ||
|
||
pre-commit: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11' | ||
- uses: pre-commit/[email protected] | ||
|
||
|
||
# run unit (and integration tests if account secrets available) on our build matrix | ||
test: | ||
needs: [pre-commit] | ||
|
||
strategy: | ||
matrix: | ||
|
@@ -39,7 +50,7 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
|
@@ -65,7 +76,7 @@ jobs: | |
${{ steps.get-dependencies.outputs.site_bin_dir }} | ||
key: ${{ runner.os }}-${{ matrix.python }}-build-${{ env.cache-name }}-${{ hashFiles('setup.py') }}-v7-otel | ||
|
||
- name: install-py-dependencies | ||
- name: Install py-dependencies | ||
if: steps.cache-dependencies.outputs.cache-hit != 'true' | ||
shell: bash | ||
run: | | ||
|
@@ -80,11 +91,6 @@ jobs: | |
pip install numpy | ||
fi | ||
# - name: lint | ||
# shell: bash | ||
# run: | | ||
# flake8 | ||
|
||
- name: run-unit-tests | ||
shell: bash | ||
run: | | ||
|
@@ -138,15 +144,9 @@ jobs: | |
pytest -sv tests/integration/synapseclient/test_command_line_client.py | ||
fi | ||
# enforce the code matches the Black code style | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: psf/black@stable | ||
# on a GitHub release, build the pip package and upload it as a GitHub release asset | ||
package: | ||
needs: [test,lint] | ||
needs: [test,pre-commit] | ||
|
||
runs-on: ubuntu-20.04 | ||
|
||
|
@@ -157,7 +157,7 @@ jobs: | |
bdist-package-name: ${{ steps.build-package.outputs.bdist-package-name }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: e61f33e16f39e8cbda346a2c639c4799 | ||
config: 90d422e4b09fda20663a5d255dc16438 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
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
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
Oops, something went wrong.