File tree Expand file tree Collapse file tree 3 files changed +5
-28
lines changed Expand file tree Collapse file tree 3 files changed +5
-28
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,6 @@ description = "Interactive shell in test container"
2121depends = [" test-setup" ]
2222run = " ./scripts/test-docker.sh --shell"
2323
24- [tasks .test-rust ]
25- description = " Run Rust tests only"
26- depends = [" test-setup" ]
27- run = " docker run --rm -v \" $(pwd):/app\" -w /app pathoscope:dev cargo test"
28-
2924[tasks .test-clean ]
3025description = " Clean up test Docker resources"
3126run = " docker rmi pathoscope:dev 2>/dev/null || true"
Original file line number Diff line number Diff line change 1- FROM debian:bookworm AS bowtie2
2- WORKDIR /build
3- RUN apt-get update && apt-get install -y build-essential cmake wget zlib1g-dev
4- RUN wget https://github.com/BenLangmead/bowtie2/archive/refs/tags/v2.5.4.tar.gz
5- RUN tar -xvf v2.5.4.tar.gz
6- WORKDIR bowtie2-2.5.4
7- RUN make
8- RUN mkdir /build/bowtie2
9- RUN cp bowtie2* /build/bowtie2/
10-
11- FROM debian:bookworm AS pigz
12- WORKDIR /build
13- RUN apt-get update && apt-get install -y gcc make wget zlib1g-dev
14- RUN wget https://zlib.net/pigz/pigz-2.8.tar.gz && \
15- tar -xzvf pigz-2.8.tar.gz && \
16- cd pigz-2.8 && \
17- make
18-
191FROM python:3.12.3-bookworm AS deps
202WORKDIR /app
21- COPY --from=bowtie2 /build /bowtie2/* /usr/local/bin/
22- COPY --from=ghcr.io/virtool/workflow- tools:2 .0.1 /opt/fastqc /opt/fastqc
23- COPY --from=ghcr.io/virtool/workflow- tools:2 .0.1 /opt/hmmer /opt/hmmer
24- COPY --from=ghcr.io/virtool/workflow- tools:2 .0.1 /usr/local/bin /pigz /usr/local/bin/
3+ COPY --from=ghcr.io/virtool/tools:1.0.0 /tools /bowtie2/2.5.4/bowtie * /usr/local/bin/
4+ COPY --from=ghcr.io/virtool/tools:1 .0.0 /tools/hmmer/3.2.1 /opt/hmmer
5+ COPY --from=ghcr.io/virtool/tools:1 .0.0 /tools/fastqc/0.11.9 /opt/fastqc
6+ COPY --from=ghcr.io/virtool/tools:1 .0.0 /tools/pigz/2.8 /pigz /usr/local/bin/
257RUN apt-get update && \
268 apt-get install -y --no-install-recommends default-jre && \
279 rm -rf /var/lib/apt/lists/* && \
Original file line number Diff line number Diff line change @@ -74,6 +74,6 @@ case $MODE in
7474 -v " $( pwd) :/app" \
7575 -w /app \
7676 " $IMAGE_NAME " \
77- bash -c " echo 'Running Rust tests...' && cargo test && echo 'Running Python tests...' && poetry install --no-root && poetry run maturin develop --release && poetry run pytest$PYTEST_ARGS "
77+ bash -c " echo 'Running Python tests...' && poetry install --no-root && poetry run maturin develop --release && poetry run pytest$PYTEST_ARGS "
7878 ;;
7979esac
You can’t perform that action at this time.
0 commit comments