Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edits made, compose initialized #16

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10" # update version(s) as needed
python-version: "3.11" # update version(s) as needed
- name: Install dependencies
if: ${{ hashFiles(format('{0}/**/*.py', matrix.subdir)) != '' }}
run: |
Expand Down
24 changes: 16 additions & 8 deletions workflow/main.yml → .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
python-version: [3.11]

steps:
- uses: actions/checkout@v2
Expand All @@ -23,13 +23,21 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pipenv
pipenv install
cd web-app

- name: Run tests
run: |
pytest

- name: Deploy
run: |
# Replace this with your deployment commands
echo "Deploying application"
pipenv run pytest

# - name: Docker hub login
# uses:
# with:
# username: $ {{ secrets.DOCKER_USERNAME }}
# password: $ {{ secrets.DOCKER_PASSWORD }}

# - name: Deploy
# run: |
# # Replace this with your deployment commands
# echo "Deploying application"
3 changes: 3 additions & 0 deletions .github/workflows/ml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ jobs:
pip install --user pipenv
pipenv install
cd machine-learning-client
- name: Run tests
run: |
pipenv run pytest
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 'version 1.0.0'
services:
webapp:

mlc:

mongodb:

volumes:

networks:
2 changes: 1 addition & 1 deletion machine-learning-client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10
FROM python:3.11

WORKDIR /machine-learning-client

Expand Down
2 changes: 1 addition & 1 deletion web-app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10
FROM python:3.11

WORKDIR /web-app

Expand Down
Loading