From 0780cf6b159d16c3e778820251c478c4ff80648d Mon Sep 17 00:00:00 2001 From: exoego Date: Thu, 29 Jun 2023 10:42:25 +0900 Subject: [PATCH] Rerun --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a89032c4..68f1ebd0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,6 +34,11 @@ jobs: - uses: actions/checkout@v2 - name: bundle install run: bundle install -j$(nproc) --retry 3 + - if: matrix.coverage == 'coverage' + name: First-run + # This may fail with "`build_branches': undefined method `flat_map' for nil:NilClass (NoMethodError)" + # but second-run will succeed. + run: bundle exec rspec || echo "ignore first-run failure" - run: bundle exec rspec timeout-minutes: 1 - name: Upload coverage reports