Update GitHub workflows and remove unused workflow (#1648)

* Update GitHub workflows to include release_package input

* Remove unused GitHub workflow for async API tests
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-04-09 01:12:58 -03:00 • committed by GitHub
commit 2ff3d49841
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 70 deletions

View file

@ -1,44 +0,0 @@
name: "Async API tests"
on:
push:
branches:
- dev
pull_request:
branches:
- dev
- main
jobs:
build-and-test:
runs-on: ubuntu-latest
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cache Docker layers
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Set up Docker
run: docker --version && docker-compose --version
- name: "Create env file"
working-directory: ./deploy
run: |
echo "${{ secrets.ENV_FILE }}" > .env
- name: Build and start services
working-directory: ./deploy
run: docker compose up --exit-code-from tests tests result_backend broker celeryworker db --build
continue-on-error: true
# - name: Stop services
# run: docker compose down