labels rendering performance improvement: create ImageBitmaps in worker #6442
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
name: Pull Request | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
branches: | |
- develop | |
- feat/* | |
- main | |
- release/v[0-9]+.[0-9]+.[0-9]+ | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
modified-files: | |
runs-on: ubuntu-latest | |
outputs: | |
app-changes: ${{ steps.filter.outputs.app }} | |
e2e-changes: ${{ steps.filter.outputs.e2e-pw }} | |
fiftyone-changes: ${{ steps.filter.outputs.fiftyone }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dorny/paths-filter@v3 | |
id: filter | |
with: | |
filters: | | |
app: | |
- 'app/**' | |
e2e-pw: | |
- 'e2e-pw/**' | |
fiftyone: | |
- 'fiftyone/**' | |
- 'package/**' | |
- 'requirements/**' | |
- 'tests/**' | |
- 'requirements.txt' | |
- 'setup.py' | |
build: | |
needs: modified-files | |
if: ${{ needs.modified-files.outputs.app-changes == 'true' || needs.modified-files.outputs.fiftyone-changes == 'true' }} | |
uses: ./.github/workflows/build.yml | |
e2e: | |
needs: modified-files | |
if: ${{ needs.modified-files.outputs.app-changes == 'true' || needs.modified-files.outputs.e2e-changes == 'true' || needs.modified-files.outputs.fiftyone-changes == 'true' }} | |
uses: ./.github/workflows/e2e.yml | |
lint: | |
needs: modified-files | |
if: ${{ needs.modified-files.outputs.app-changes == 'true' || needs.modified-files.outputs.fiftyone-changes == 'true' }} | |
uses: ./.github/workflows/lint-app.yml | |
teams: | |
runs-on: ubuntu-latest | |
if: false && github.base_ref == 'develop' # temporarily disabled | |
steps: | |
- uses: convictional/[email protected] | |
with: | |
owner: voxel51 | |
repo: fiftyone-teams | |
github_token: ${{ secrets.FIFTYONE_GITHUB_TOKEN }} | |
github_user: voxel51-bot | |
workflow_file_name: merge-oss.yml | |
ref: develop | |
wait_interval: 20 | |
client_payload: | | |
{ | |
"author": "${{ github.event.pull_request.user.login }}", | |
"branch": "${{ github.head_ref || github.ref_name }}", | |
"pr": ${{ github.event.pull_request.number }} | |
} | |
propagate_failure: true | |
trigger_workflow: true | |
wait_workflow: true | |
test: | |
needs: modified-files | |
if: ${{ needs.modified-files.outputs.app-changes == 'true' || needs.modified-files.outputs.fiftyone-changes == 'true' }} | |
uses: ./.github/workflows/test.yml | |
all-tests: | |
runs-on: ubuntu-latest | |
needs: [build, lint, test, e2e] | |
if: always() | |
steps: | |
- run: sh -c ${{ | |
(needs.build.result == 'success' || needs.build.result == 'skipped') && | |
(needs.lint.result == 'success' || needs.lint.result == 'skipped') && | |
(needs.test.result == 'success' || needs.test.result == 'skipped') && | |
(needs.e2e.result == 'success' || needs.e2e.result == 'skipped') }} |