Skip to content

Commit

Permalink
build: omit Cloud API steps from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mtth committed Jun 25, 2024
1 parent ded6b42 commit b78f3c1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 21 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,17 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
- name: Install Python dependencies
run: python -m pip install -r requirements.txt
- name: Check
- name: Set up API server
uses: opvious/api-server-action@v0.2.0
with:
license-key: ${{ secrets.OPVIOUS_LICENSE_KEY }}
- name: Check compatibility
run: ./scripts/check-compatibility.sh
env:
OPVIOUS_TOKEN: ${{ secrets.OPVIOUS_TOKEN }}
- name: Show API logs
if: failure()
run: opvious api logs
deploy-jupyterlite-site:
name: Deploy JupyterLite site
timeout-minutes: 3
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/check-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,6 @@ on:
- cron: '5 */8 * * *'
workflow_dispatch: {}
jobs:
cloud-api:
name: Cloud API
timeout-minutes: 3
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: python -m pip install -r requirements.txt
- name: Check compatibility
run: ./scripts/check-compatibility.sh
env:
OPVIOUS_TOKEN: ${{ secrets.OPVIOUS_TOKEN }}
image-api:
name: Image API
timeout-minutes: 5
Expand Down

0 comments on commit b78f3c1

Please sign in to comment.