Refactor test pipeline: introduce separate unit/e2e workflows, fix Dockerfile, update Makefile test targets, and move integration tests to tests/e2e.

Conversation reference:
https://chatgpt.com/share/69361e70-4d74-800f-acd7-51548ac3fa37
This commit is contained in:
Kevin Veen-Birkenbach
2025-12-08 01:40:36 +01:00
parent b124166205
commit 9648be4a26
7 changed files with 77 additions and 46 deletions

25
.github/workflows/test-e2e.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Test package-manager (e2e)
on:
push:
branches:
- main
- master
- develop
- "*"
pull_request:
jobs:
test-e2e:
runs-on: ubuntu-latest
timeout-minutes: 60 # E2E + all distros can be heavier
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Show Docker version
run: docker version
- name: Run E2E tests via make (all distros)
run: make test-e2e

View File

@@ -1,4 +1,4 @@
name: Test package-manager
name: Test package-manager (unit)
on:
push:
@@ -10,7 +10,7 @@ on:
pull_request:
jobs:
test:
test-unit:
runs-on: ubuntu-latest
timeout-minutes: 30
@@ -21,5 +21,5 @@ jobs:
- name: Show Docker version
run: docker version
- name: Run tests via make (builds Docker image and runs unit + integration tests)
run: make test
- name: Run unit tests via make (Arch container)
run: make test-unit