Skip to content

Commit

Permalink
chore: disable weekly tests on the internal repository
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanBredehoft committed Jun 24, 2024
1 parent 9fb6c3c commit 7aee6f3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
matrix-preparation:
name: Prepare versions and OS
# We skip the CI in cases of pushing to internal main (because all pushes to main internal are now from the bot)
if: ${{ !( github.repository == 'zama-ai/concrete-ml-internal' && github.event_name == 'push' && github.ref == 'refs/heads/main' ) }}
if: ${{ !( github.repository != 'zama-ai/concrete-ml' && github.event_name == 'push' && github.ref == 'refs/heads/main' ) }}
runs-on: ubuntu-20.04
timeout-minutes: 5
outputs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ jobs:
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
SLACK_ICON: https://pbs.twimg.com/profile_images/1274014582265298945/OjBKP9kn_400x400.png
SLACK_COLOR: ${{ env.JOB_STATUS || 'failure' }}
SLACK_MESSAGE: "Creating release for ${{ env.GIT_TAG }} finished with status\
SLACK_MESSAGE: "Creating release for ${{ env.GIT_TAG }} finished with status: \
${{ env.JOB_STATUS || 'failure' }} (${{ env.ACTION_RUN_URL }})\n\
- start-runner-linux: ${{ needs.start-runner-linux.result || 'Did not run.'}}\n\n\
- release-checks: ${{ needs.release-checks.result || 'Did not run.' }}\n\n\
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/weekly_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ concurrency:
jobs:
# The caller workflow's job (here 'weekly-tests') does not need to run on the current runner as
# the reusable workflow (here 'continuous-integration.yaml') uses its own runner
# Only allow weekly tests on the public repository
weekly-tests:
name: Run weekly tests
if: ${{ github.repository == 'zama-ai/concrete-ml' }}
uses: ./.github/workflows/continuous-integration.yaml
secrets: inherit
with:
Expand Down

0 comments on commit 7aee6f3

Please sign in to comment.