Nightly Tests #13
This file contains hidden or 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
| name: Nightly Tests | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "0 3 * * *" | |
| jobs: | |
| replication-stress-nightly: | |
| name: Replication stress nightly | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Go | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: "1.24" | |
| - name: Configure git for private modules | |
| env: | |
| TOKEN: ${{ secrets.REPOSITORIES_ACCESS_TOKEN }} | |
| USER: ${{ secrets.REPOSITORIES_ACCESS_USER }} | |
| run: git config --global url."https://${USER}:${TOKEN}@github.com".insteadOf "https://github.com" | |
| - name: Share cache with other actions | |
| uses: actions/cache@v3 | |
| with: | |
| path: | | |
| ~/go/pkg/mod | |
| key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
| restore-keys: | | |
| ${{ runner.os }}-go- | |
| - name: Run replication stress tests | |
| run: make ci-replication-stress |