From 1e7e4a9b149f678514cf1d8b0460c3e9969e0b8f Mon Sep 17 00:00:00 2001 From: sylvain-morin Date: Tue, 27 Feb 2024 17:49:53 +0100 Subject: [PATCH] New CICD workflow --- .github/workflows/CI-build-test.yml | 1 - Dockerfile | 2 +- requirements-production.txt => requirements.txt | 0 3 files changed, 1 insertion(+), 2 deletions(-) rename requirements-production.txt => requirements.txt (100%) diff --git a/.github/workflows/CI-build-test.yml b/.github/workflows/CI-build-test.yml index 72ce6c8..511271a 100644 --- a/.github/workflows/CI-build-test.yml +++ b/.github/workflows/CI-build-test.yml @@ -19,7 +19,6 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r requirements-production.txt pip install -r requirements-test.txt - name: Test with pytest diff --git a/Dockerfile b/Dockerfile index a64bbb5..683b0c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN pip install --upgrade pip WORKDIR /home/inaturalist/vision # Copy the dependencies file to the working directory -COPY --chown=inaturalist:inaturalist ./requirements-production.txt /home/inaturalist/vision/requirements.txt +COPY --chown=inaturalist:inaturalist ./requirements.txt /home/inaturalist/vision/requirements.txt # Install dependencies RUN UWSGI_EMBED_PLUGINS=stats_pusher_statsd pip install -r requirements.txt diff --git a/requirements-production.txt b/requirements.txt similarity index 100% rename from requirements-production.txt rename to requirements.txt