meilisearch/.github/workflows/flaky-tests.yml

31 lines
954 B
YAML
Raw Normal View History

name: Look for flaky tests
on:
2022-11-14 17:10:00 +08:00
workflow_dispatch:
schedule:
2022-11-14 17:10:00 +08:00
- cron: "0 12 * * FRI" # Every Friday at 12:00PM
jobs:
flaky:
runs-on: ubuntu-latest
container:
# Use ubuntu-20.04 to compile with glibc 2.28
image: ubuntu:20.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
2024-07-29 16:00:40 +08:00
- uses: dtolnay/rust-toolchain@v1.70
- name: Install cargo-flaky
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