Skip to content

Commit

Permalink
Merge branch 'develop' into dependabot/pip/requirements/twine-5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yunchu authored Feb 29, 2024
2 parents 28e684e + 39dc67c commit 75ff0b2
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 12 deletions.
6 changes: 6 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
coverage:
status:
project:
default:
target: auto #default
threshold: 1%
10 changes: 8 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,15 @@ name: "CodeQL"

on:
push:
branches: ["develop", "releases/*", "v2"]
branches:
- develop
- releases
- v2
pull_request:
branches: ["develop", "releases/*", "v2"]
types:
- opened
- reopened
- synchronize
schedule:
- cron: "0 0 * * 0"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/perf-accuracy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ jobs:
task: ${{ matrix.task }}
timeout-minutes: 8640
upload-artifact: true
artifact-prefix: ${{ inputs.perf-accuracy-benchmark }}
artifact-prefix: ${{ inputs.artifact-prefix }}
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
uses: pypa/cibuildwheel@0ecddd92b62987d7a2ae8911f4bb8ec9e2e4496a # v2.13.1
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: artifact-wheels
path: ./wheelhouse/*.whl

build_sdist:
Expand All @@ -41,6 +42,7 @@ jobs:
run: python -m build --sdist
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: artifact-sdist
path: dist/*.tar.gz

publish_package:
Expand All @@ -52,12 +54,13 @@ jobs:
packages: write
steps:
- name: Download artifacts
uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4.1.2
uses: actions/download-artifact@87c55149d96e628cc2ef7e6fc2aab372015aec85 # v4.1.3
with:
# unpacks default artifact into dist/
# if `name: artifact` is omitted, the action will create extra parent dir
name: artifact
path: dist
pattern: artifact-*
merge-multiple: true
# to determine where to publish the source distribution to PyPI or TestPyPI
- name: Check tag
id: check-tag
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/publish_internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
uses: pypa/cibuildwheel@0ecddd92b62987d7a2ae8911f4bb8ec9e2e4496a # v2.13.1
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: artifact-wheels
path: ./wheelhouse/*.whl

build_sdist:
Expand All @@ -39,6 +40,7 @@ jobs:
run: python -m build --sdist
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: artifact-sdist
path: dist/*.tar.gz

publish_package:
Expand All @@ -62,12 +64,13 @@ jobs:
pip install --require-hashes --no-deps -r /tmp/otx-publish-requirements.txt
rm /tmp/otx-publish-requirements.txt
- name: Download artifacts
uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4.1.2
uses: actions/download-artifact@87c55149d96e628cc2ef7e6fc2aab372015aec85 # v4.1.3
with:
# unpacks default artifact into dist/
# if `name: artifact` is omitted, the action will create extra parent dir
name: artifact
path: dist
pattern: artifact-*
merge-multiple: true
- name: Check tag
id: check-tag
uses: actions-ecosystem/action-regex-match@9e6c4fb3d5e898f505be7a1fb6e7b0a278f6665b # v2.0.2
Expand Down
1 change: 0 additions & 1 deletion requirements/action.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ mmcv-full==1.7.0
mmaction2==0.24.1
mmdet==2.28.1
mmdeploy==0.14.0
yapf<0.40.0 # it should be removed after https://github.com/google/yapf/issues/1118 is solved
1 change: 0 additions & 1 deletion requirements/classification.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ mmcls==0.25.0
timm==0.6.12
mmdeploy==0.14.0
pytorchcv==0.0.67
yapf<0.40.0 # it should be removed after https://github.com/google/yapf/issues/1118 is solved
1 change: 0 additions & 1 deletion requirements/detection.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ timm==0.6.12
mmdeploy==0.14.0
mmengine==0.7.4
scikit-image # specifying different version w.r.t python_version is not effect
yapf<0.40.0 # it should be removed after https://github.com/google/yapf/issues/1118 is solved
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ onnx==1.15.0
onnxruntime==1.14.1
pytest-csv==3.0.*
tox==4.11.*
mlflow==2.9.*
mlflow==2.10.2
1 change: 0 additions & 1 deletion requirements/segmentation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ mmdeploy==0.14.0
timm==0.6.12
pytorchcv==0.0.67
einops==0.6.1
yapf<0.40.0 # it should be removed after https://github.com/google/yapf/issues/1118 is solved

0 comments on commit 75ff0b2

Please sign in to comment.