core: add end-to-end testing with distribution #2
Workflow file for this run
This file contains 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: end-to-end testing | |
on: [push, pull_request] | |
jobs: | |
prepare: | |
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-kind | |
e2e-distribution-registry: | |
runs-on: ubuntu-latest | |
needs: prepare | |
steps: | |
- name: Start distribution-registry | |
run: | | |
e2e/deploy_distribution_registry.sh | |
- name: Run tests | |
run: | | |
poetry run pytest --e2e -s -x |