Run the entire test suite with the latest dependency versions #4840
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
name: Run the entire test suite with the latest dependency versions | |
on: | |
schedule: | |
- cron: "0 0/8 * * *" | |
workflow_dispatch: | |
jobs: | |
test-without-pnpm-lock-yaml: | |
name: Test without pnpm-lock.yaml | |
strategy: | |
matrix: | |
system: ["ubuntu-latest", "windows-latest"] | |
runs-on: ${{ matrix.system }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-env | |
- name: Delete pnpm-lock.yaml | |
run: "rm pnpm-lock.yaml" | |
- name: Install | |
run: pnpm install --no-frozen-lockfile | |
- name: List dependencies | |
run: pnpm list -r --depth 2 | |
- name: Run tests | |
env: | |
DO_NOT_SET_THIS_ENV_VAR____IS_HARDHAT_CI: true | |
FORCE_COLOR: 3 | |
run: pnpm test || (echo "===== Retry =====" && pnpm test) | |
- name: Notify failures | |
if: failure() | |
uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0 | |
with: | |
payload: | | |
{ | |
"workflow_name": "${{ github.workflow }}", | |
"run_url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" | |
} | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.GH_ACTION_NOTIFICATIONS_SLACK_WEBHOOK_URL }} |