chore: fix coverage warning when re-running failed tests in CI #290
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sync repos | |
name: Sync repos | |
on: | |
push: | |
branches: | |
- 'main' | |
workflow_dispatch: | |
jobs: | |
sync-repo: | |
if: ${{ github.repository == 'zama-ai/concrete-ml' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
with: | |
fetch-depth: 0 | |
- name: Save repo | |
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 | |
with: | |
name: repo-archive | |
path: '.' | |
- name: git-sync | |
uses: wei/git-sync@55c6b63b4f21607da0e9877ca9b4d11a29fc6d83 | |
with: | |
source_repo: "zama-ai/concrete-ml" | |
source_branch: "main" | |
destination_repo: "https://${{ secrets.BOT_USERNAME }}:${{ secrets.CONCRETE_ACTIONS_TOKEN }}@github.com/${{ secrets.SYNC_DEST_REPO }}" | |
destination_branch: "main" | |