## Context - Removing search* integration tests instead of fixing them because they will be replaced by global search very soon - Fixed billing + add missing seeds to make them work - Fixed integration tests not using consistently the correct "test" db - Fixed ci not running the with-db-reset configuration due to nx configuration being used twice for different level of the command - Enriched .env.test - Fixed parts where exceptions were not thrown properly and not caught by exception handler to convert to 400 when needed - Refactored feature flag service that had 2 different implementations in lab and admin panel + added tests - Fixed race condition when migrations are created at the same timestamp and doing the same type of operation, in this case object deletion could break because table could be deleted earlier than its relations - Fixed many integration tests that were not up to date since the CI has been broken for a while --------- Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
21 lines
520 B
YAML
21 lines
520 B
YAML
name: Nx Affected CI
|
|
inputs:
|
|
parallel:
|
|
required: false
|
|
default: '3'
|
|
tag:
|
|
required: false
|
|
tasks:
|
|
required: true
|
|
configuration:
|
|
required: false
|
|
default: 'ci'
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Get last successful commit
|
|
uses: nrwl/nx-set-shas@v4
|
|
- name: Run affected command
|
|
shell: bash
|
|
run: npx nx affected --nxBail --configuration=${{ inputs.configuration }} -t=${{ inputs.tasks }} --parallel=${{ inputs.parallel }} --exclude='*,!tag:${{ inputs.tag }}' |