Skip to content

Commit

Permalink
Test ci-repo.yml changes
Browse files Browse the repository at this point in the history
Signed-off-by: Scott J Dickerson <[email protected]>
  • Loading branch information
sjd78 committed May 3, 2024
1 parent 70dfeae commit 31f0b8f
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions .github/workflows/ci-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,31 @@ on:
branches:
- "main"
- "release-*"

pull_request:
branches:
- "main"
- "release-*"

schedule:
- cron: "35 5 * * *" # every day @ 5:35am UTC

workflow_dispatch:

jobs:
unit-test-lookup-image:
runs-on: ubuntu-latest
outputs:
builder-image: ${{ steps.grepBuilder.outputs.builder }}
steps:
- name: Log the event
env:
GH: ${{ toJson(github) }}
run: |
echo "$GH" | jq "."
- uses: actions/checkout@v4

- name: Lookup builder image from the project's Dockerfile
id: grepBuilder
run: |
Expand Down Expand Up @@ -55,13 +68,15 @@ jobs:
run: npm run test -- --coverage --watchAll=false

- name: Upload to codecov (client)
# if: ${{ github.event_name == 'pull_request' }}
uses: codecov/codecov-action@v4
with:
flags: client
directory: ./*/coverage
directory: ./client/coverage

- name: Upload to codecov (server)
uses: codecov/codecov-action@v4
with:
flags: server
directory: ./*/coverage
# ** Disabled since there are no tests on server or common **
# - name: Upload to codecov (server)
# uses: codecov/codecov-action@v4
# with:
# flags: server
# directory: ./server/coverage

0 comments on commit 31f0b8f

Please sign in to comment.