-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 862 Bytes
/
e2e.yml
File metadata and controls
41 lines (34 loc) · 862 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: e2e
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
pdm:
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 .[test]
- name: Authenticate to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Start PDM test container
id: proxmox
uses: client-api/proxmox-docker-action@v1
with:
product: pdm
tag: latest
- name: Run E2E tests
run: pytest e2e/ -v --tb=short
env:
PROXMOX_INSECURE: '1'