Skip to content

Commit

Permalink
Fix demo indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquelinegarrahan committed Sep 9, 2022
1 parent 477e4b0 commit ab7ab80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class MyModel(BaseModel):

Add `numpy` to the `dev-environment.yml`, `environment.yml`, and `requirements.txt` files.

## 5. Set up flow
### 5. Set up flow

In order for our flow to run, we must edit the code in `my_model/flow.py`. First, delete the `preprocessing_task` code, as we won't be using it. Second, edit `format_file` such that the file holds a string representation of the sum of `output2` and `output3`.

Expand Down Expand Up @@ -187,7 +187,7 @@ Navigate back to your `my-model` directory. You can now test your flow locally b
pytest .
```

## 9. Run tests with GitHub actions
### 9. Run tests with GitHub actions

Check in all of your code, and push to GitHub.

Expand Down

2 comments on commit ab7ab80

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
lume_services
   __init__.py20100% 
   _version.py355223223 37%
   config.py1084242 61%
   errors.py1389191 34%
   utils.py203110110 46%
lume_services/cli
   __init__.py00100% 
   cli.py999 0%
   docker_compose.py251212 52%
   modeling.py00100% 
lume_services/docker
   __init__.py00100% 
   compose.py1546060 61%
lume_services/docker/files
   __init__.py40100% 
lume_services/environment
   __init__.py10100% 
   solver.py386289289 25%
lume_services/files
   __init__.py20100% 
   file.py661414 79%
   utils.py633 50%
lume_services/files/serializers
   __init__.py30100% 
   image.py822 75%
   text.py1166 45%
   yaml.py1699 44%
lume_services/flows
   __init__.py20100% 
   flow.py984040 59%
   flow_of_flows.py1027777 25%
lume_services/models
   __init__.py10100% 
   model.py1509999 34%
lume_services/results
   __init__.py30100% 
   generic.py631818 71%
   impact.py110100% 
   utils.py2477 71%
lume_services/services
   __init__.py00100% 
lume_services/services/files
   __init__.py10100% 
   service.py371919 49%
lume_services/services/files/filesystems
   __init__.py833 62%
   filesystem.py2155 76%
   local.py412828 32%
   mounted.py492323 53%
lume_services/services/models
   __init__.py20100% 
   service.py1077474 31%
   utils.py1888 56%
lume_services/services/models/db
   __init__.py20100% 
   db.py985353 46%
   schema.py8877 92%
lume_services/services/results
   __init__.py30100% 
   db.py2111 95%
   mongodb.py982121 79%
   service.py2299 59%
lume_services/services/scheduling
   __init__.py20100% 
   service.py1866 67%
lume_services/services/scheduling/backends
   __init__.py50100% 
   backend.py2766 78%
   docker.py2955 83%
   kubernetes.py492222 55%
   local.py725050 31%
   server.py1327373 45%
lume_services/services/scheduling/files
   __init__.py100100% 
lume_services/tasks
   __init__.py30100% 
   configure.py321717 47%
   db.py502323 54%
   file.py481313 73%
lume_services/tests
   __init__.py00100% 
   test_config.py148110110 26%
   test_db_schema.py00100% 
   test_files.py745252 30%
   test_filesystems.py674343 36%
   test_models.py1377373 47%
   test_results.py1096464 41%
   test_utils.py1126666 41%
lume_services/tests/cli
   __init__.py00100% 
   test_docker.py1255 58%
lume_services/tests/files
   __init__.py60100% 
lume_services/tests/files/flows
   __init__.py00100% 
   failure_flow.py1011 90%
   flow1.py2011 95%
   flow2.py2122 90%
   flow3.py1311 92%
lume_services/tests/fixtures
   __init__.py00100% 
   docker.py250100% 
lume_services/tests/fixtures/services
   __init__.py00100% 
   files.py60100% 
   models.py260100% 
   results.py2044 80%
   scheduling.py2922 93%
lume_services/tests/scheduling
   __init__.py00100% 
   test_backends.py1367373 46%
   test_flows.py1225858 52%
   test_tasks.py997070 29%
TOTAL4236220248% 

Tests Skipped Failures Errors Time
163 24 💤 0 ❌ 139 🔥 6m 13s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
lume_services
   __init__.py20100% 
   _version.py355210210 41%
   config.py1084242 61%
   errors.py1389191 34%
   utils.py203110110 46%
lume_services/cli
   __init__.py00100% 
   cli.py999 0%
   docker_compose.py251212 52%
   modeling.py00100% 
lume_services/docker
   __init__.py00100% 
   compose.py1546060 61%
lume_services/docker/files
   __init__.py40100% 
lume_services/environment
   __init__.py10100% 
   solver.py386289289 25%
lume_services/files
   __init__.py20100% 
   file.py661414 79%
   utils.py633 50%
lume_services/files/serializers
   __init__.py30100% 
   image.py822 75%
   text.py1166 45%
   yaml.py1699 44%
lume_services/flows
   __init__.py20100% 
   flow.py984040 59%
   flow_of_flows.py1027777 25%
lume_services/models
   __init__.py10100% 
   model.py1509999 34%
lume_services/results
   __init__.py30100% 
   generic.py631818 71%
   impact.py110100% 
   utils.py2477 71%
lume_services/services
   __init__.py00100% 
lume_services/services/files
   __init__.py10100% 
   service.py371919 49%
lume_services/services/files/filesystems
   __init__.py833 62%
   filesystem.py2155 76%
   local.py412828 32%
   mounted.py492323 53%
lume_services/services/models
   __init__.py20100% 
   service.py1077474 31%
   utils.py1888 56%
lume_services/services/models/db
   __init__.py20100% 
   db.py985353 46%
   schema.py8877 92%
lume_services/services/results
   __init__.py30100% 
   db.py2111 95%
   mongodb.py982121 79%
   service.py2299 59%
lume_services/services/scheduling
   __init__.py20100% 
   service.py1866 67%
lume_services/services/scheduling/backends
   __init__.py50100% 
   backend.py2766 78%
   docker.py2955 83%
   kubernetes.py492222 55%
   local.py725050 31%
   server.py1327373 45%
lume_services/services/scheduling/files
   __init__.py100100% 
lume_services/tasks
   __init__.py30100% 
   configure.py321717 47%
   db.py502323 54%
   file.py481313 73%
lume_services/tests
   __init__.py00100% 
   test_config.py148110110 26%
   test_db_schema.py00100% 
   test_files.py745252 30%
   test_filesystems.py674343 36%
   test_models.py1377373 47%
   test_results.py1096464 41%
   test_utils.py1126666 41%
lume_services/tests/cli
   __init__.py00100% 
   test_docker.py1255 58%
lume_services/tests/files
   __init__.py60100% 
lume_services/tests/files/flows
   __init__.py00100% 
   failure_flow.py1011 90%
   flow1.py2011 95%
   flow2.py2122 90%
   flow3.py1311 92%
lume_services/tests/fixtures
   __init__.py00100% 
   docker.py250100% 
lume_services/tests/fixtures/services
   __init__.py00100% 
   files.py60100% 
   models.py260100% 
   results.py2044 80%
   scheduling.py2922 93%
lume_services/tests/scheduling
   __init__.py00100% 
   test_backends.py1367373 46%
   test_flows.py1225858 52%
   test_tasks.py997070 29%
TOTAL4236218948% 

Tests Skipped Failures Errors Time
163 24 💤 0 ❌ 139 🔥 6m 46s ⏱️

Please sign in to comment.