MeiliSearch/.github/workflows/flaky.yml

27 lines
725 B
YAML
Raw Normal View History

name: Look for flaky tests
on:
2022-11-14 10:10:00 +01:00
workflow_dispatch:
schedule:
2022-11-14 10:10:00 +01:00
- cron: "0 12 * * FRI" # Every Friday at 12:00PM
jobs:
flaky:
runs-on: ubuntu-latest
container:
2022-12-19 18:46:27 +01:00
# Use ubuntu-18.04 to compile with glibc 2.27, which are the production expectations
image: ubuntu:18.04
steps:
- uses: actions/checkout@v3
- name: Install needed dependencies
run: |
apt-get update && apt-get install -y curl
apt-get install build-essential -y
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install cargo-flaky
run: cargo install cargo-flaky
2021-06-21 17:36:54 +02:00
- name: Run cargo flaky 100 times
run: cargo flaky -i 100 --release