feat: updated to reuse and run integration api test before release

This commit is contained in:
Akhil Mohan
2024-02-18 22:47:13 +05:30
parent abd28d9269
commit 8864c811fe
2 changed files with 10 additions and 3 deletions

View File

@@ -5,9 +5,17 @@ on:
- "infisical/v*.*.*-postgres"
jobs:
infisical-tests:
name: Run tests before deployment
runs-on: ubuntu-latest
steps:
- name: Run backend api integration tests
# https://docs.github.com/en/actions/using-workflows/reusing-workflows#overview
uses: ./.github/workflows/run-backend-tests.yml
infisical-standalone:
name: Build infisical standalone image postgres
runs-on: ubuntu-latest
needs: [infisical-tests]
steps:
- name: Extract version from tag
id: extract_version

View File

@@ -8,9 +8,8 @@ on:
- "!backend/README.md"
- "!backend/.*"
- "backend/.eslintrc.js"
push:
tags:
- "infisical/v*.*.*-postgres"
workflow_call:
jobs:
check-be-pr:
name: Run integration test