test(e2e): add universal-core suite + CI #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: e2e | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| pmg: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| cache: pip | |
| - name: Install package + test deps | |
| run: | | |
| pip install -e . | |
| pip install 'pytest>=8' 'pytest-timeout>=2.3' 'requests>=2.32' | |
| - name: Authenticate to GHCR | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Start PMG test container | |
| id: proxmox | |
| uses: client-api/proxmox-docker-action@v1 | |
| with: | |
| product: pmg | |
| tag: latest | |
| - name: Run E2E tests | |
| run: pytest e2e/ -v --tb=short | |
| env: | |
| PROXMOX_INSECURE: '1' |