forked from NREL/GEOPHIRES-X
-
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 NREL#253 from softwareengineerprogrammer/main
Coverage Badge using Coveralls; license & code style badges; README updates
- Loading branch information
Showing
9 changed files
with
141 additions
and
409 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
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 |
---|---|---|
|
@@ -122,6 +122,37 @@ jobs: | |
run: > | ||
tox -e ${{ matrix.tox_env }} -v | ||
coveralls: | ||
name: Upload coverage to Coveralls | ||
if: github.ref == 'refs/heads/main' # Prevent from running on PRs, tags | ||
needs: test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11' | ||
architecture: 'x64' | ||
- name: install dependencies | ||
run: | | ||
python -mpip install --upgrade pip | ||
python -mpip install --progress-bar=off -r ci/requirements.txt | ||
virtualenv --version | ||
pip --version | ||
tox --version | ||
pip list --format=freeze | ||
- name: generate coverage report | ||
env: | ||
TOXPYTHON: '3.11' | ||
run: | | ||
tox -e py311 | ||
- name: Coveralls GitHub Action | ||
uses: coverallsapp/[email protected] | ||
|
||
|
||
deploy_docs: | ||
name: Deploy docs to GitHub Pages | ||
if: github.ref == 'refs/heads/main' # Prevent from running on PRs, tags | ||
|
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
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
Oops, something went wrong.