Skip to content

rerun-cross-version-tests #44

rerun-cross-version-tests

rerun-cross-version-tests #44

Workflow file for this run

# Cross version tests sometimes fail due to transient errors. This workflow reruns failed tests.
name: rerun-cross-version-tests
on:
schedule:
# Run this workflow daily at 17:00 UTC (4 hours after cross-version-tests.yml workflow)
- cron: "0 17 * * *"
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
set-matrix:
runs-on: ubuntu-latest
timeout-minutes: 10
if: github.repository == 'mlflow-automation/mlflow'
permissions:
actions: write # to rerun workflows
steps:
- uses: actions/checkout@v3
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const rerun = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/rerun.js`);
await rerun({ context, github, workflow_id: "cross-version-tests.yml" });