File tree Expand file tree Collapse file tree
{{cookiecutter.package_name}}/.github/workflows Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 "include_github_actions" : [
1818 " no" ,
1919 " ci" ,
20- " cd"
20+ " ci+ cd"
2121 ]
2222}
Original file line number Diff line number Diff line change @@ -21,16 +21,16 @@ jobs:
2121 - uses : actions/checkout@v2
2222 # Step 4. Install poetry
2323 - uses : snok/install-poetry@v1
24- # Step 5. Install our pycounts package
24+ # Step 5. Install our package
2525 - name : Install package
2626 run : poetry install
27- # Step 6. Run tests for pycounts
27+ # Step 6. Run tests for package
2828 - name : Test with pytest
29- run : poetry run pytest tests/ --cov=pycounts --cov-report=xml
29+ run : poetry run pytest tests/ --cov={{ cookiecutter.package_name }} --cov-report=xml
3030 # Step 7. Use Codecov to track coverage
3131 - uses : codecov/codecov-action@v2
3232 with :
33- file : ./coverage.xml # coverage report
33+ files : ./coverage.xml # coverage report
3434 fail_ci_if_error : true # terminate workflow if there's an error
3535 # Step 8. Build documentation
3636 - name : Build documentation
7171 pip install \
7272 --index-url https://test.pypi.org/simple/ \
7373 --extra-index-url https://pypi.org/simple \
74- pycounts
74+ {{ cookiecutter.package_name }}
7575 # Step 7. Publish to PyPI
7676 - uses : pypa/gh-action-pypi-publish@release/v1
7777 with :
Original file line number Diff line number Diff line change @@ -21,16 +21,16 @@ jobs:
2121 - uses : actions/checkout@v2
2222 # Step 4. Install poetry
2323 - uses : snok/install-poetry@v1
24- # Step 5. Install our pycounts package
24+ # Step 5. Install our package
2525 - name : Install package
2626 run : poetry install
27- # Step 6. Run tests for pycounts
27+ # Step 6. Run tests for package
2828 - name : Test with pytest
29- run : poetry run pytest tests/ --cov=pycounts --cov-report=xml
29+ run : poetry run pytest tests/ --cov={{ cookiecutter.package_name }} --cov-report=xml
3030 # Step 7. Use Codecov to track coverage
3131 - uses : codecov/codecov-action@v2
3232 with :
33- file : ./coverage.xml # coverage report
33+ files : ./coverage.xml # coverage report
3434 fail_ci_if_error : true # terminate workflow if there's an error
3535 # Step 8. Build documentation
3636 - name : Build documentation
You can’t perform that action at this time.
0 commit comments