2021-06-10 17:02:06 +02:00
|
|
|
name: Look for flaky tests
|
2024-07-09 10:55:12 +02:00
|
|
|
|
2021-06-10 16:53:30 +02:00
|
|
|
on:
|
2022-11-14 10:10:00 +01:00
|
|
|
workflow_dispatch:
|
2021-06-10 16:53:30 +02:00
|
|
|
schedule:
|
2022-11-14 10:10:00 +01:00
|
|
|
- cron: "0 12 * * FRI" # Every Friday at 12:00PM
|
2021-06-10 16:53:30 +02:00
|
|
|
|
|
|
|
jobs:
|
2021-06-10 17:07:23 +02:00
|
|
|
flaky:
|
2022-12-19 10:46:29 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
2024-07-08 18:33:00 +02:00
|
|
|
# Use ubuntu-20.04 to compile with glibc 2.28
|
|
|
|
image: ubuntu:20.04
|
2021-06-10 16:53:30 +02:00
|
|
|
steps:
|
2022-06-28 22:21:41 +02:00
|
|
|
- uses: actions/checkout@v3
|
2022-12-19 10:46:29 +01:00
|
|
|
- name: Install needed dependencies
|
|
|
|
run: |
|
|
|
|
apt-get update && apt-get install -y curl
|
|
|
|
apt-get install build-essential -y
|
2024-07-29 10:06:34 +02:00
|
|
|
- uses: dtolnay/rust-toolchain@1.79
|
2021-06-10 17:02:06 +02:00
|
|
|
- name: Install cargo-flaky
|
2021-06-10 16:53:30 +02:00
|
|
|
run: cargo install cargo-flaky
|
2023-01-16 18:44:47 +01:00
|
|
|
- name: Run cargo flaky in the dumps
|
2024-11-13 09:52:06 +01:00
|
|
|
run: cd crates/dump; cargo flaky -i 100 --release
|
2023-01-16 18:44:47 +01:00
|
|
|
- name: Run cargo flaky in the index-scheduler
|
2024-11-13 09:52:06 +01:00
|
|
|
run: cd crates/index-scheduler; cargo flaky -i 100 --release
|
2023-01-16 18:44:47 +01:00
|
|
|
- name: Run cargo flaky in the auth
|
2024-11-13 09:52:06 +01:00
|
|
|
run: cd crates/meilisearch-auth; cargo flaky -i 100 --release
|
2023-01-16 18:44:47 +01:00
|
|
|
- name: Run cargo flaky in meilisearch
|
2024-11-13 09:52:06 +01:00
|
|
|
run: cd crates/meilisearch; cargo flaky -i 100 --release
|