From 5237a4e3092839c0c054f41e4a8748b331e85222 Mon Sep 17 00:00:00 2001 From: Kilian Lieret Date: Tue, 24 Sep 2024 13:38:59 -0400 Subject: [PATCH] CI: Upload trajectories from test runs --- .github/workflows/pytest.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 2add4eaa7..19eb15a13 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -54,7 +54,14 @@ jobs: - name: Run pytest uses: sjvrijn/pytest-last-failed@v2 with: - pytest-args: '-s --cov' + pytest-args: '--cov' + - name: Upload logs & trajectories + uses: actions/upload-artifact@v4 + with: + name: trajectories + path: | + trajectories + !trajectories/demonstrations/** - name: Explicitly convert coverage to xml run: coverage xml - name: Upload coverage reports to Codecov