Skip to content

Commit

Permalink
add coverage and comment out unit tests with fixture data / Sample mo…
Browse files Browse the repository at this point in the history
…del mismatch
  • Loading branch information
mbthornton-lbl committed Dec 8, 2023
1 parent 99f9eb8 commit f7b0dd1
Show file tree
Hide file tree
Showing 4 changed files with 1,834 additions and 30 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/blt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,11 @@ permissions:

jobs:
build_lint_test:

runs-on: ubuntu-latest
# services:
# mongodb:
# image: mongo:latest
# env:
# MONGO_INITDB_ROOT_USERNAME: root
# MONGO_INITDB_ROOT_PASSWORD: password
# MONGO_INITDB_DATABASE: nmdc
# MONGO_HOST: localhost
# ports:
# - 27017:27017
steps:
- uses: actions/checkout@v3
- name: setup_mongodb
uses: supercharge/[email protected]
# with:
# mongodb-uri: mongodb://localhost:27017
# mongodb-database: nmdc
# mongodb-username: root
# mongodb-password: password
# mongodb-health-check: true
# mongodb-health-check-timeout: 30
# run: |
# sudo docker run --rm --detach --name mongodb --publish 27017:27017 \
# --env MONGO_INITDB_ROOT_USERNAME=root --env MONGO_INITDB_ROOT_PASSWORD=password \
# --env MONGO_INITDB_DATABASE=test \
# mongo:latest --auth

- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
Expand All @@ -54,5 +30,6 @@ jobs:
poetry install
- name: Test with pytest
run: |
poetry run pytest ./tests
poetry run pytest ./tests --cov-report=term --cov-report=html \
--cov-report=xml --cov=nmdc_automation
Loading

0 comments on commit f7b0dd1

Please sign in to comment.