diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4605e9b..5d8b2f9 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -38,9 +38,11 @@ jobs: fail-fast: false steps: - uses: actions/checkout@v4 + - name: Install test dependencies + run: | + /venv/bin/python -m pip install -r requirements-dev.txt - name: Run tests run: | - . venv/bin/activate - python -m pytest -v -rxXs + /venv/bin/python -m pytest -v -rxXs env: - DATABASE_URL: postgresql://postgres:postgres@postgres:5432/postgres \ No newline at end of file + DATABASE_URL: postgresql://postgres:postgres@postgres:5432/postgres diff --git a/Dockerfile b/Dockerfile index bd70704..bf19f3e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,7 @@ COPY requirements*.txt ./ RUN python3 -m venv /venv && \ /venv/bin/python -m pip install -U pip && \ /venv/bin/python -m pip install --no-cache-dir --upgrade numpy && \ - /venv/bin/python -m pip install -r requirements-dev.txt && \ + /venv/bin/python -m pip install -r requirements.txt && \ curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \ unzip awscliv2.zip && \ ./aws/install \ No newline at end of file