Skip to content

feat: add ci pipeline for testing gin-mongo native #10

feat: add ci pipeline for testing gin-mongo native

feat: add ci pipeline for testing gin-mongo native #10

Workflow file for this run

name: Test Stage
on:
pull_request:
jobs:
build-keploy:
uses: gouravkrosx/keploy/.github/workflows/build_stage.yml@test-bench-workflow
test-go-mongo:
needs: build # Ensure this job runs after the build job

Check failure on line 11 in .github/workflows/test_stage.yml

View workflow run for this annotation

GitHub Actions / Test Stage

Invalid workflow file

The workflow is not valid. .github/workflows/test_stage.yml (Line: 11, Col: 12): Job 'test-go-mongo' depends on unknown job 'build'.
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Download Keploy Binary
uses: actions/download-artifact@v2
with:
name: keploy-binary
path: /usr/local/bin
- name: Giving permission to binary
run: |
sudo chmod +x /usr/local/bin/kTestBuild
- name: Checkout the samples-go repository
uses: actions/checkout@v2
with:
repository: keploy/samples-go
path: samples-go
- name: Run samples-go application
run: |
cd samples-go/gin-mongo
source ./../../.github/workflows/test-bench-workflow-scripts/mongo/go-mongo-linux-1.sh