mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 00:27:30 +00:00
feat: updated to reuse and run integration api test before release
This commit is contained in:
@@ -5,9 +5,17 @@ on:
|
|||||||
- "infisical/v*.*.*-postgres"
|
- "infisical/v*.*.*-postgres"
|
||||||
|
|
||||||
jobs:
|
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:
|
infisical-standalone:
|
||||||
name: Build infisical standalone image postgres
|
name: Build infisical standalone image postgres
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: [infisical-tests]
|
||||||
steps:
|
steps:
|
||||||
- name: Extract version from tag
|
- name: Extract version from tag
|
||||||
id: extract_version
|
id: extract_version
|
||||||
|
|||||||
@@ -8,9 +8,8 @@ on:
|
|||||||
- "!backend/README.md"
|
- "!backend/README.md"
|
||||||
- "!backend/.*"
|
- "!backend/.*"
|
||||||
- "backend/.eslintrc.js"
|
- "backend/.eslintrc.js"
|
||||||
push:
|
workflow_call:
|
||||||
tags:
|
|
||||||
- "infisical/v*.*.*-postgres"
|
|
||||||
jobs:
|
jobs:
|
||||||
check-be-pr:
|
check-be-pr:
|
||||||
name: Run integration test
|
name: Run integration test
|
||||||
|
|||||||
Reference in New Issue
Block a user