diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f5faad..bae4aa3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,14 +65,21 @@ jobs: run: ./dev.py js-build - name: Run e2e tests - run: pytest e2e + run: >- + pytest e2e + --video retain-on-failure + --screenshot only-on-failure + --update-snapshots + --output ./test-results/ + -r aR + -v - name: Upload snapshots - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ always() }} with: name: Snapshots - path: e2e/__snapshots__ + path: test-results if-no-files-found: error - name: Build package