From 8fcf6dacb3dc93feac05ad03546b3a8532c432bb Mon Sep 17 00:00:00 2001 From: Simon Alibert Date: Mon, 6 May 2024 09:31:31 +0200 Subject: [PATCH 1/2] Add codecov upload --- .github/workflows/nightly-tests.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/nightly-tests.yml b/.github/workflows/nightly-tests.yml index b30a0bca..b7348c87 100644 --- a/.github/workflows/nightly-tests.yml +++ b/.github/workflows/nightly-tests.yml @@ -63,12 +63,13 @@ jobs: - name: Test run: pytest -v --cov=./lerobot --cov-report=xml --disable-warnings tests - # TODO(aliberts): Link with HF Codecov account - # - name: Upload coverage reports to Codecov with GitHub Action - # uses: codecov/codecov-action@v4 - # with: - # files: ./coverage.xml - # verbose: true + + - name: Upload coverage reports to Codecov with GitHub Action + uses: codecov/codecov-action@v3 + with: + files: ./coverage.xml + verbose: true + - name: Tests end-to-end run: make test-end-to-end From 25801e7520492f602c41f168d040fd3ab2796d5e Mon Sep 17 00:00:00 2001 From: Simon Alibert Date: Thu, 30 May 2024 09:30:42 +0200 Subject: [PATCH 2/2] fix attempt --- .github/workflows/nightly-tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nightly-tests.yml b/.github/workflows/nightly-tests.yml index b7348c87..e6dc682b 100644 --- a/.github/workflows/nightly-tests.yml +++ b/.github/workflows/nightly-tests.yml @@ -64,10 +64,14 @@ jobs: - name: Test run: pytest -v --cov=./lerobot --cov-report=xml --disable-warnings tests + - name: ls + run: | + ls -glha . + ls -glha lerobot + - name: Upload coverage reports to Codecov with GitHub Action uses: codecov/codecov-action@v3 with: - files: ./coverage.xml verbose: true - name: Tests end-to-end