-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add config_overrides argument to initializer of MergerConfig (#225) Fix #223 * Update tests for pytest changes * Release preparation for 3.8.2 * Drop formal support for Python 3.6 * Mention Python 3.12 support is pending a dateutil release * Update GitHub Actions due to deprecation warnings * Update ruby gem path for new GH Action vers * Newer Ruby bin path requires more than just a version bump * Remove restriction on eyaml version (#231) * Fix version of gh-actions-pypi-publish * Split Coveralls.IO publication to resolve throttling * Fix coveralls workflow name * EYAML 2.x->3.x key incompatibility has been resolved --------- Co-authored-by: Levi Muniz <levi.muniz17@gmail.com>
- Loading branch information
Showing
21 changed files
with
823 additions
and
480 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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# This workflow runs the full sweep of tests for the yamlpath package and publishes the coverage report to coveralls.io | ||
name: Publish Coverage Report to Coveralls.IO | ||
|
||
on: | ||
push: | ||
branches: [ master, development ] | ||
pull_request: | ||
branches: [ master, development ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
- name: Set Environment Variables | ||
run: | | ||
echo "${HOME}/.local/share/gem/ruby/3.0.0/bin" >> $GITHUB_PATH | ||
- name: Install dependencies | ||
run: | | ||
gem install --user-install hiera-eyaml | ||
python -m pip install --upgrade pip | ||
python -m pip install --upgrade setuptools | ||
python -m pip install --upgrade pytest pytest-cov pytest-console-scripts coveralls | ||
python -m pip install --editable . | ||
- name: Unit Test with pytest | ||
run: | | ||
pytest --verbose --cov=yamlpath --cov-report=term-missing --cov-fail-under=100 --script-launch-mode=subprocess tests | ||
- name: Publish coveralls Report | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
coveralls --service=github |
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
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
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
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.