Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/publish_asr_worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: docker/build-push-action@v7
with:
target: io-worker
context: asr-worker
context: workers/asr-worker
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
uses: docker/build-push-action@v7
with:
target: preprocessing-worker
context: asr-worker
context: workers/asr-worker
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
uses: docker/build-push-action@v7
with:
target: inference-gpu-worker
context: asr-worker
context: workers/asr-worker
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test_asr_worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
paths:
- 'datashare-python'
- 'asr-worker'
- 'workers/asr-worker'

# TODO: leverage some caching here
jobs:
Expand All @@ -18,9 +18,9 @@ jobs:
with:
args: "--version" # skips test by displaying the version
- name: Check formatting
run: ruff format --config qa/ruff.toml --check asr-worker
run: ruff format --config qa/ruff.toml --check workers/asr-worker
- name: Lint test
run: ruff check --config qa/ruff.toml asr-worker
run: ruff check --config qa/ruff.toml workers/asr-worker

test:
runs-on: ubuntu-latest
Expand All @@ -42,14 +42,14 @@ jobs:
version: ${{ env.ASTRAL_VERSION }}
python-version: ${{ env.PYTHON_VERSION }}
enable-cache: true
working-directory: asr-worker
working-directory: workers/asr-worker
- name: Install ffmpeg
run: |
sudo apt-get update
sudo apt-get install -y ffmpeg libavcodec-dev libavformat-dev libavutil-dev
- name: Run tests
run: |
cd asr-worker
cd workers/asr-worker
uv sync --frozen --all-extras
uv run --frozen python -m pytest --timeout=180 -vvv --cache-clear --show-capture=all -r A

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test_translation_worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: [ 'main' ]
pull_request:
paths:
- 'translation-worker'
- 'workers/translation-worker'

# TODO: leverage some caching here
jobs:
Expand All @@ -17,9 +17,9 @@ jobs:
with:
args: "--version" # skips test by displaying the version
- name: Check formatting
run: ruff format --config qa/ruff.toml --check translation-worker
run: ruff format --config qa/ruff.toml --check workers/translation-worker
- name: Lint test
run: ruff check --config qa/ruff.toml translation-worker
run: ruff check --config qa/ruff.toml workers/translation-worker

test:
runs-on: ubuntu-latest
Expand All @@ -41,10 +41,10 @@ jobs:
version: ${{ env.ASTRAL_VERSION }}
python-version: ${{ env.PYTHON_VERSION }}
enable-cache: true
working-directory: translation-worker
working-directory: workers/translation-worker
- name: Run tests
run: |
cd translation-worker
cd workers/translation-worker
uv sync --frozen --all-extras
uv run --frozen python -m pytest --timeout=180 -vvv --cache-clear --show-capture=all -r A

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.