Skip to content
Open
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
9 changes: 8 additions & 1 deletion .github/workflows/backend-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,14 @@ jobs:
run: poetry install --no-root

- name: Install dependencies
run: poetry install --no-interaction ${{ matrix.service == 'nel_v2' && '--extras inference' || '' }}
run: |
if [ "${{ matrix.service }}" = "nel" ]; then
poetry install --no-interaction --without inference
elif [ "${{ matrix.service }}" = "nel_v2" ]; then
poetry install --no-interaction --extras inference
else
poetry install --no-interaction
fi
working-directory: backend/${{ matrix.service }}

- name: Run tests
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ name: CI

on:
push:
branches: ["**"]
branches:
- main
pull_request:

# Only one deploy at a time; cancel in-progress CI runs on the same branch
# but never cancel a deploy that is already running.
concurrency:
group: ${{ github.workflow }}-${{ contains(github.event.head_commit.message, '[deploy dev]') && 'deploying' || github.ref_name }}
cancel-in-progress: false
group: ${{ github.workflow }}-${{ contains(github.event.head_commit.message, '[deploy dev]') && 'deploying' || github.ref }}-${{ github.event_name }}
cancel-in-progress: true

jobs:
backend-ci:
Expand Down
Loading
Loading