From 4fbb7149d566236308d44a893e959cfd83d2d587 Mon Sep 17 00:00:00 2001 From: Josh Bailey Date: Mon, 1 Apr 2024 07:08:09 +0000 Subject: [PATCH] more tests. --- .github/workflows/docker-test.yml | 4 +++- utils/mavlink-api/Dockerfile.mavlink-api | 2 +- utils/mavlink-api/Dockerfile.mqtt-publisher | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-test.yml b/.github/workflows/docker-test.yml index aa0fe17f..ee9c6b27 100644 --- a/.github/workflows/docker-test.yml +++ b/.github/workflows/docker-test.yml @@ -16,7 +16,9 @@ jobs: - name: docker build run: | docker build -f utils/mavlink-api/Dockerfile.mavlink-api . -t iqtlabs/gamutrf-mavlink-api:latest && \ - docker build -f utils/mavlink-api/Dockerfile.mqtt-publisher . -t iqtlabs/gamutrf-mavlink-mqtt-publisher:latest + docker run -t iqtlabs/gamutrf-mavlink-api --help && \ + docker build -f utils/mavlink-api/Dockerfile.mqtt-publisher . -t iqtlabs/gamutrf-mavlink-mqtt-publisher:latest && \ + docker run -t iqtlabs/gamutrf-mavlink-mqtt-publisher --help test-gamutrf-waterfall-images: runs-on: ubuntu-latest steps: diff --git a/utils/mavlink-api/Dockerfile.mavlink-api b/utils/mavlink-api/Dockerfile.mavlink-api index b1f7aa5f..4f5d5825 100644 --- a/utils/mavlink-api/Dockerfile.mavlink-api +++ b/utils/mavlink-api/Dockerfile.mavlink-api @@ -5,7 +5,7 @@ WORKDIR /app ENV PYTHONPATH=${PYTHONPATH}:${PWD} RUN apt-get update -yq && apt-get install -yq jq && apt-get clean -COPY renovate.json . +COPY README.md renovate.json . RUN pip3 install poetry=="$(jq -r .constraints.poetry renovate.json)" COPY utils/mavlink-api/pyproject.toml . RUN poetry config virtualenvs.create false diff --git a/utils/mavlink-api/Dockerfile.mqtt-publisher b/utils/mavlink-api/Dockerfile.mqtt-publisher index eeedeb2c..84151bd1 100644 --- a/utils/mavlink-api/Dockerfile.mqtt-publisher +++ b/utils/mavlink-api/Dockerfile.mqtt-publisher @@ -5,7 +5,7 @@ WORKDIR /app ENV PYTHONPATH=${PYTHONPATH}:${PWD} RUN apt-get update -yq && apt-get install -yq jq && apt-get clean -COPY renovate.json . +COPY README.md renovate.json . RUN pip3 install poetry=="$(jq -r .constraints.poetry renovate.json)" COPY utils/mavlink-api/pyproject.toml . RUN poetry config virtualenvs.create false