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