Skip to content

Run the entire test suite with the latest dependency versions #3645

Run the entire test suite with the latest dependency versions

Run the entire test suite with the latest dependency versions #3645

name: Run the entire test suite with the latest dependency versions
on:
schedule:
- cron: "0 0/8 * * *"
workflow_dispatch:
jobs:
test-without-yarn-lock:
name: Test without yarn.lock
strategy:
matrix:
system: ["ubuntu-latest", "windows-latest"]
runs-on: ${{ matrix.system }}
steps:
- uses: actions/setup-node@v2
with:
node-version: 16
- uses: actions/checkout@v2
- name: Delete yarn.lock
run: "rm yarn.lock"
- name: Install
run: yarn
- name: List dependencies
run: yarn list
- name: Run tests
env:
DO_NOT_SET_THIS_ENV_VAR____IS_HARDHAT_CI: true
FORCE_COLOR: 3
run: yarn test || (echo "===== Retry =====" && yarn test)
- name: Notify failures
if: failure()
uses: slackapi/[email protected]
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 }}