forked from codecov/codecov-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from Adal3n3/revert-11-step4
Revert "step4: aggregate tests and split Component"
- Loading branch information
Showing
2 changed files
with
8 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,8 +13,10 @@ jobs: | |
python-version: '3.10' | ||
- name: Install requirements | ||
run: pip install -r api/requirements.txt | ||
- name: Run tests and collect coverage | ||
run: pytest --cov | ||
- name: Run tests and collect coverage for calculator | ||
run: pytest --cov=api.calculator --cov-report=xml:calculator-coverage.xml | ||
- name: Run tests and collect coverage for smiles | ||
run: pytest --cov=api.smiles --cov-report=xml:smiles-coverage.xml | ||
- name: Upload coverage reports to Codecov with GitHub Action | ||
uses: codecov/[email protected] | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters