From 1153c4409dc543fc624e7c576855a57c8ab013e9 Mon Sep 17 00:00:00 2001 From: imaNNeoFighT Date: Wed, 18 Dec 2024 20:20:53 +0100 Subject: [PATCH] Update codecov.yml --- .github/workflows/codecov.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 7a07f1f62..6ca751b62 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -15,9 +15,10 @@ jobs: run: flutter pub get - name: Generate coverage file run: flutter test --coverage - - name: Upload coverage file - run: | - curl -Os https://uploader.codecov.io/latest/linux/codecov - chmod +x codecov - ./codecov + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v5 + with: + fail_ci_if_error: true + files: ./coverage/lcov.info + flags: flutter