From 31f0b8fa2df34c20788df1fc680e99590a02e2e9 Mon Sep 17 00:00:00 2001 From: Scott J Dickerson Date: Fri, 3 May 2024 11:50:05 -0400 Subject: [PATCH] Test ci-repo.yml changes Signed-off-by: Scott J Dickerson --- .github/workflows/ci-repo.yml | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-repo.yml b/.github/workflows/ci-repo.yml index 7a6cebaa0c..f3feb98c49 100644 --- a/.github/workflows/ci-repo.yml +++ b/.github/workflows/ci-repo.yml @@ -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: | @@ -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