-
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 pull request #1006 from Sage-Bionetworks/v3.1.1-rc-dev
v3.1.1 -> master
- Loading branch information
Showing
63 changed files
with
1,333 additions
and
936 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 | ||
|
||
- 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: | | ||
|
@@ -133,17 +139,14 @@ jobs: | |
export EXTERNAL_S3_BUCKET_AWS_SECRET_ACCESS_KEY="${{secrets.EXTERNAL_S3_BUCKET_AWS_SECRET_ACCESS_KEY}}" | ||
# use loadscope to avoid issues running tests concurrently that share scoped fixtures | ||
pytest -sv tests/integration -n auto --dist loadscope | ||
pytest -sv tests/integration -n auto --ignore=tests/integration/synapseclient/test_command_line_client.py --dist loadscope | ||
# Execute the CLI tests in a non-dist way because they were causing some test instability when being run concurrently | ||
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 | ||
|
||
|
@@ -154,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
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.