Skip to content

Commit

Permalink
ci: enable basic e2e smoke testing
Browse files Browse the repository at this point in the history
  • Loading branch information
foosel committed Jan 27, 2025
1 parent 5d1ee57 commit faf8a51
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,27 @@ jobs:
run: |
pre-commit run --all-files --show-diff-on-failure
e2e:
name: 🧪 E2E tests
needs: build
runs-on: ubuntu-22.04 # change back to ubuntu-latest once we drop Python 3.7 & upgrade playwright
strategy:
matrix:
octoprint: ["maintenance"] # add master once 1.11.0 has been released
steps:
- name: ⬇ Download build result
uses: actions/download-artifact@v4
with:
name: dist
path: dist

- name: 🎭 Run OctoPrint's E2E Tests
uses: OctoPrint/actions/e2e@main
with:
ref: ${{ matrix.octoprint }}
deps: ${{ github.workspace }}/dist/*.whl
suffix: "-${{ matrix.octoprint }}"

publish-on-testpypi:
name: 📦 Publish on TestPyPI
if: github.event_name == 'release'
Expand Down

0 comments on commit faf8a51

Please sign in to comment.