[feature]: add test pipeline for testing Postgres parser using different applications #211
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Keploy Binary | ||
on: | ||
pull_request: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Build binary | ||
run: go build -tags=viper_bind_struct -cover -o keployB | ||
- name: Upload Keploy Binary as Artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: keploy-binary | ||
path: keployB | ||
# Add Jobs for testing different applications here. | ||
test-go-mongo-1: | ||
needs: build | ||
uses: ./.github/workflows/test-go-mongo-1.yml | ||
test-go-mongo-2: | ||
needs: build | ||
uses: ./.github/workflows/test-go-mongo-2.yml | ||
test-go-postgres-1: | ||
needs: build | ||
uses: ./.github/workflows/test-go-postgres-1.yml | ||
test-go-postgres-2: | ||
needs: build | ||
uses: ./.github/workflows/test-go-postgres-1=2.yml | ||
Check failure on line 37 in .github/workflows/build_stage.yml GitHub Actions / .github/workflows/build_stage.ymlInvalid workflow file
|
||
# Wait for all the test workflows before getting the coverage | ||
get-coverage: | ||
needs: [test-go-mongo-1, test-go-mongo-2, test-go-postgres-1, test-go-postgres-2] | ||
uses: ./.github/workflows/coverage_stage.yml | ||
#https://github.com/marketplace/actions/delete-artifact |