Skip to content

Commit

Permalink
added new ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ajith-nataraj committed Oct 16, 2023
1 parent fe74c94 commit 8ba1089
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 20 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: CI Checks

on:
push:
branches:
- "master"
pull_request:
branches:
- "master"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
unit-tests:
uses: carousell/cicd-workflows/.github/workflows/go-unit-tests.yml@main
with:
bu: cs
before_script: |
echo "----Enabling GoPath----"
env
printenv
secrets: inherit

ci-common:
uses: carousell/cicd-workflows/.github/workflows/ci-common.yml@main
with:
bu: cs
secrets: inherit

ci-status:
uses: carousell/cicd-workflows/.github/workflows/ci-status.yml@main
if: ${{ always() }}
needs:
- unit-tests
- ci-common
with:
bu: cs
secrets: inherit


20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

0 comments on commit 8ba1089

Please sign in to comment.