From 7312c1366554310662f2176a5a507733da3ce0a4 Mon Sep 17 00:00:00 2001 From: Irevoire Date: Thu, 10 Jun 2021 16:53:30 +0200 Subject: [PATCH 1/4] add a github action to run cargo-flaky 1000 times --- .github/workflows/flaky.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/flaky.yml diff --git a/.github/workflows/flaky.yml b/.github/workflows/flaky.yml new file mode 100644 index 000000000..5ecd7a77f --- /dev/null +++ b/.github/workflows/flaky.yml @@ -0,0 +1,15 @@ +name: "Look for flaky tests" +on: + schedule: + - cron: "* */12 * * */5" # every friday at 12PM + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: "install cargo-flaky" + run: cargo install cargo-flaky + - name: "Run cargo flaky 1000 times" + run: cargo flaky -i 1000 From 41220a7f963c43e7b4c2a88c94ef4b2fcfc429d8 Mon Sep 17 00:00:00 2001 From: Irevoire Date: Thu, 10 Jun 2021 17:02:06 +0200 Subject: [PATCH 2/4] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Clémentine Urquizar --- .github/workflows/flaky.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/flaky.yml b/.github/workflows/flaky.yml index 5ecd7a77f..46bf76042 100644 --- a/.github/workflows/flaky.yml +++ b/.github/workflows/flaky.yml @@ -1,15 +1,15 @@ -name: "Look for flaky tests" +name: Look for flaky tests on: schedule: - cron: "* */12 * * */5" # every friday at 12PM jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 steps: - - uses: actions/checkout@v1 - - name: "install cargo-flaky" + - uses: actions/checkout@v2 + - name: Install cargo-flaky run: cargo install cargo-flaky - - name: "Run cargo flaky 1000 times" + - name: Run cargo flaky 1000 times run: cargo flaky -i 1000 From efc1225cd86f976eb0717d022a782c1a9464cdc2 Mon Sep 17 00:00:00 2001 From: Irevoire Date: Thu, 10 Jun 2021 17:07:23 +0200 Subject: [PATCH 3/4] Update .github/workflows/flaky.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Clémentine Urquizar --- .github/workflows/flaky.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/flaky.yml b/.github/workflows/flaky.yml index 46bf76042..e85e34341 100644 --- a/.github/workflows/flaky.yml +++ b/.github/workflows/flaky.yml @@ -4,7 +4,7 @@ on: - cron: "* */12 * * */5" # every friday at 12PM jobs: - build: + flaky: runs-on: ubuntu-18.04 steps: From 51105d3b1ce7cbc398325927dfd436d871e1ac14 Mon Sep 17 00:00:00 2001 From: Irevoire Date: Thu, 10 Jun 2021 17:12:07 +0200 Subject: [PATCH 4/4] run the tests in release mode --- .github/workflows/flaky.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/flaky.yml b/.github/workflows/flaky.yml index e85e34341..5f7fbac6a 100644 --- a/.github/workflows/flaky.yml +++ b/.github/workflows/flaky.yml @@ -12,4 +12,4 @@ jobs: - name: Install cargo-flaky run: cargo install cargo-flaky - name: Run cargo flaky 1000 times - run: cargo flaky -i 1000 + run: cargo flaky -i 1000 --release