Skip to content

Commit

Permalink
run ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshod5 committed May 17, 2024
1 parent 23e9fb7 commit a268a1c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ jobs:

- name: Build and run containers
run: |
pip install uv
uv venv venv
source venv/bin/activate
docker-compose \
--env-file dev/docker/.env.dev \
-f dev/docker/docker-compose.yml \
Expand All @@ -41,11 +38,15 @@ jobs:
run: |
git lfs fetch
git lfs pull
pip install uv
uv venv venv
source venv/bin/activate
uv pip install -r requirements.txt
- name: Run tests
run: |
source venv/bin/activate
python -m pytest -rsx tests/test_json.py --data-path=/home/runner/work/fair-mast/fair-mast/tests/mock_data/mini
python -m pytest -rsx tests/ --data-path=/home/runner/work/fair-mast/fair-mast/tests/mock_data/mini
Expand Down
2 changes: 1 addition & 1 deletion dev/docker/api.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKDIR /code

COPY ./requirements.txt /code/requirements.txt

RUN uv pip install --no-cache-dir --upgrade -r /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt

COPY ./src /code/src

Expand Down

0 comments on commit a268a1c

Please sign in to comment.