mirror of
https://github.com/azaion/loader.git
synced 2026-04-26 16:36:33 +00:00
4f5fe70f3f
- Added 'e2e/results/' to .gitignore to exclude end-to-end test results. - Deleted the outdated Woodpecker build-arm.yml file as it is no longer needed. - Introduced a new e2e-runner service in docker-compose.test.yml to facilitate end-to-end testing with dependencies on other services.
17 lines
369 B
Docker
17 lines
369 B
Docker
FROM docker:24
|
|
|
|
RUN apk add --no-cache python3 py3-pip bash
|
|
|
|
WORKDIR /e2e
|
|
|
|
COPY requirements.txt ./
|
|
RUN python3 -m venv /opt/venv \
|
|
&& /opt/venv/bin/pip install --no-cache-dir --upgrade pip \
|
|
&& /opt/venv/bin/pip install --no-cache-dir -r requirements.txt pytest-csv
|
|
|
|
ENV PATH=/opt/venv/bin:$PATH
|
|
|
|
COPY . /e2e
|
|
|
|
CMD ["pytest", "--csv=/results/report.csv", "-v"]
|