Skip to content

Commit

Permalink
ci: fix broken CI pipeline (#95)
Browse files Browse the repository at this point in the history
* minor changes

* pin pip version
  • Loading branch information
JaeAeich authored and lvarin committed Jan 8, 2025
1 parent 6044d25 commit 45ca5f4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Pin pip version
run: |
python -m pip install --upgrade "pip<24.1"
- name: Install requirements
run: |
pip install -r requirements_dev.txt
Expand Down Expand Up @@ -46,7 +49,7 @@ jobs:
with:
python-version: "3.10"
- name: Deploy app
run: docker-compose up -d --build
run: docker compose up -d --build
- name: Wait for app startup
run: sleep 20
- name: Probe endpoint
Expand Down
4 changes: 3 additions & 1 deletion pro_wes/ga4gh/wes/workflow_runs.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,9 @@ def _validate_run_request(
"""
dict_of_lists = form_data.to_dict(flat=False)
# flatten single item lists
dict_atomic = {k: v[0] if len(v) == 1 else v for k, v in dict_of_lists.items()}
dict_atomic: dict = {
k: v[0] if len(v) == 1 else v for k, v in dict_of_lists.items()
}
# remove 'workflow_attachment' field
dict_atomic.pop("workflow_attachment", None)
model_instance = RunRequest(**dict_atomic)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
connexion<3
email-validator>=2.1.0,<3
foca>=0.12.1
foca==0.12.1
gunicorn>=22

0 comments on commit 45ca5f4

Please sign in to comment.