Skip to content

Commit

Permalink
Merge pull request #16 from julesvanrie/speed-up-steps
Browse files Browse the repository at this point in the history
Speed up steps to allow for faster demo
  • Loading branch information
Bruncky authored Nov 25, 2024
2 parents 0528d75 + 18b32bb commit c6c55e4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
build-and-run-pytest:

runs-on: ubuntu-latest

steps:
Expand All @@ -26,7 +26,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip cython wheel
pip install -r requirements.txt
pip install -r tests/requirements.txt
# 4. Build test image
- name: Build test Docker image
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10-bookworm
FROM python:3.10-slim-bookworm

# Copy and install requirements
COPY requirements.txt requirements.txt
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Some example packages
pandas
numpy
seaborn
# pandas
# numpy
# seaborn

# API-related packages
fastapi
Expand Down
2 changes: 1 addition & 1 deletion tests/Dockerfile.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10-bookworm
FROM python:3.10-slim-bookworm

# Copy and install requirements
COPY requirements.txt requirements.txt
Expand Down
3 changes: 3 additions & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Testing packages
requests
pytest

0 comments on commit c6c55e4

Please sign in to comment.