-
Notifications
You must be signed in to change notification settings - Fork 7
59 lines (57 loc) · 1.29 KB
/
e2e.yaml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: E2E testing
on:
push:
branches:
- main
pull_request:
jobs:
e2e-distribution-registry:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Poetry
run: |
pipx install poetry
- name: Install dependencies
run: |
poetry install
- name: Start Kind Cluster
uses: helm/kind-action@v1
with:
cluster_name: kind
- name: Start distribution-registry
run: |
./e2e/deploy_distribution_registry.sh
- name: Run tests
run: |
poetry run pytest --e2e -s -x
e2e-zot:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Poetry
run: |
pipx install poetry
- name: Install dependencies
run: |
poetry install
- name: Start Kind Cluster
uses: helm/kind-action@v1
with:
cluster_name: kind
- name: Start Zot
run: |
./e2e/deploy_zot.sh
- name: Run tests
run: |
poetry run pytest --e2e -s -x