skip building docker images in test ci
This commit is contained in:
2
.github/workflows/build-docker-images.yml
vendored
2
.github/workflows/build-docker-images.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Run tests
|
||||
name: Build Docker Images
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
||||
9
.github/workflows/lint-migrations.yml
vendored
9
.github/workflows/lint-migrations.yml
vendored
@ -1,14 +1,7 @@
|
||||
name: Lint Migrations
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'packages/db/migrations/**'
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'packages/db/migrations/**'
|
||||
|
||||
@ -16,7 +9,7 @@ jobs:
|
||||
lint_migrations:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v1
|
||||
- name: Find modified migrations
|
||||
run: |
|
||||
modified_migrations=$(git diff --diff-filter=d --name-only origin/$GITHUB_BASE_REF...origin/$GITHUB_HEAD_REF 'packages/db/migrations/*.do.*.sql')
|
||||
|
||||
36
.github/workflows/run-tests.yaml
vendored
36
.github/workflows/run-tests.yaml
vendored
@ -96,21 +96,21 @@ jobs:
|
||||
PG_LOGGER: debug
|
||||
REDIS_URL: redis://localhost:${{ job.services.redis.ports[6379] }}
|
||||
MQ_REDIS_URL: redis://localhost:${{ job.services.redis.ports[6379] }}
|
||||
build-docker-images:
|
||||
name: Build docker images
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Build the API docker image
|
||||
run: 'docker build --file packages/api/Dockerfile .'
|
||||
- name: Build the content-fetch docker image
|
||||
run: 'docker build --file packages/content-fetch/Dockerfile .'
|
||||
- name: Build the inbound-email-handler docker image
|
||||
run: 'docker build --file packages/inbound-email-handler/Dockerfile .'
|
||||
- name: Build the content-fetch cloud function docker image
|
||||
run: 'docker build --file packages/content-fetch/Dockerfile-gcf .'
|
||||
- name: Build the tts docker image
|
||||
run: 'docker build --file packages/text-to-speech/Dockerfile .'
|
||||
# build-docker-images:
|
||||
# name: Build docker images
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v2
|
||||
# with:
|
||||
# fetch-depth: 0
|
||||
# - name: Build the API docker image
|
||||
# run: 'docker build --file packages/api/Dockerfile .'
|
||||
# - name: Build the content-fetch docker image
|
||||
# run: 'docker build --file packages/content-fetch/Dockerfile .'
|
||||
# - name: Build the inbound-email-handler docker image
|
||||
# run: 'docker build --file packages/inbound-email-handler/Dockerfile .'
|
||||
# - name: Build the content-fetch cloud function docker image
|
||||
# run: 'docker build --file packages/content-fetch/Dockerfile-gcf .'
|
||||
# - name: Build the tts docker image
|
||||
# run: 'docker build --file packages/text-to-speech/Dockerfile .'
|
||||
|
||||
Reference in New Issue
Block a user