Skip to content

Commit

Permalink
chore: update workflow (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
taprosoft authored Aug 26, 2024
1 parent 2570e11 commit bb56ef4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ AZURE_DI_ENDPOINT=
AZURE_DI_CREDENTIAL=

# settings for Adobe API
# get free credential at https://acrobatservices.adobe.com/dc-integration-creation-app-cdn/main.html?api=pdf-extract-api
# also install pip install "pdfservices-sdk@git+https://github.com/niallcm/pdfservices-python-sdk.git@bump-and-unfreeze-requirements"
PDF_SERVICES_CLIENT_ID=
PDF_SERVICES_CLIENT_SECRET=

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/style-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: style-check

on:
pull_request:
branches: [main]
branches: [main, develop]
push:
branches: [main]
branches: [main, develop]

jobs:
pre-commit:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/unit-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ env:

jobs:
unit-test:
if: ${{ !cancelled() }}
if: false # temporary disable this job due to legacy interface
#TODO: enable this job after the new interface is ready
# if: ${{ !cancelled() }}
runs-on: ${{ matrix.os }}
timeout-minutes: 20
defaults:
Expand Down
8 changes: 5 additions & 3 deletions libs/ktem/ktem/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,11 @@ def _on_app_created(self):
"""Called when the app is created"""

def make(self):
external_js = """
<script type="module" src="https://cdn.skypack.dev/pdfjs-viewer-element"></script>
"""
external_js = (
"<script type='module' "
"src='https://cdn.skypack.dev/pdfjs-viewer-element'>"
"</script>"
)

with gr.Blocks(
theme=self._theme,
Expand Down

0 comments on commit bb56ef4

Please sign in to comment.