chore: Remove validate-components from CI

This test has no added value over just starting the server,
which we already do in other tests,
and has a drastic impact on the CI execution time.
This commit is contained in:
Joachim Van Herwegen 2022-03-28 10:56:45 +02:00
parent a5a34f5071
commit 9ac00ca82c

View File

@ -22,16 +22,6 @@ jobs:
- run: npm ci --ignore-scripts - run: npm ci --ignore-scripts
- run: npm run lint - run: npm run lint
validate-components:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
- run: npm ci
- run: npm run validate
test-unit: test-unit:
runs-on: ${{ matrix.operating-system }} runs-on: ${{ matrix.operating-system }}
strategy: strategy:
@ -145,7 +135,6 @@ jobs:
- test-unit - test-unit
- test-integration - test-integration
- test-integration-windows - test-integration-windows
- validate-components
# Only run on tag push events starting with v prefix for now OR main branch push events # Only run on tag push events starting with v prefix for now OR main branch push events
if: startsWith(github.ref, 'refs/tags/v') || (github.ref == 'refs/heads/main') if: startsWith(github.ref, 'refs/tags/v') || (github.ref == 'refs/heads/main')
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -187,14 +176,13 @@ jobs:
- test-unit - test-unit
- test-integration - test-integration
- test-integration-windows - test-integration-windows
- validate-components
# Only run on push events on a versions/* branch (ASSUMPTION: THERE SHOULD ONLY BE ONE THERE!) # Only run on push events on a versions/* branch (ASSUMPTION: THERE SHOULD ONLY BE ONE THERE!)
if: startsWith(github.ref, 'refs/heads/versions/') if: startsWith(github.ref, 'refs/heads/versions/')
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
ref: ${{ github.ref }} ref: ${{ github.ref }}
- name: Docker meta - name: Docker meta
id: meta id: meta
@ -221,7 +209,7 @@ jobs:
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
docs: docs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -244,7 +232,6 @@ jobs:
- lint - lint
- test-unit - test-unit
- test-integration - test-integration
- validate-components
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')
steps: steps: