Skip to content

Commit

Permalink
Merge pull request #31 from software-students-spring2024/updatewk
Browse files Browse the repository at this point in the history
Updatewk
  • Loading branch information
christinaborao authored Apr 29, 2024
2 parents 758e374 + cc040af commit 52079df
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ jobs:
- name: Run Pylint
run: pylint backend_api/ --ignore-patterns='.*\.pb2\.py,.*\.pb2_grpc\.py'
- name: Run Black (Check mode)
run: black --check backend_api/
#- name: Run tests
# run: pytest tests/ml_app_tests.py
run: black backend_api/
- name: Run tests
run: pytest tests/web_app_tests.py
8 changes: 4 additions & 4 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
pip install pytest pylint black
- name: Run Pylint
run: pylint web_app/app.py --ignore-patterns='.*\.pb2\.py,.*\.pb2_grpc\.py'
- name: Run Black (Check mode)
run: black --check web_app/
#- name: Run tests
# run: pytest tests/web_app_tests.py
- name: Run Black
run: black web_app/
- name: Run tests
run: pytest tests/web_app_tests.py

# Additional step to log into Docker Hub
- name: Log in to Docker Hub
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ On Windows:
python -m pip install --upgrade pip
pip install -r web_app/requirements.txt
```
### 5. Run app:

### 6. Build Docker Images:


## Contributors
Expand Down

0 comments on commit 52079df

Please sign in to comment.