-
Notifications
You must be signed in to change notification settings - Fork 218
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 #3161 from VOLTTRON/releases/9.0rc0
Releases/9.0
- Loading branch information
Showing
659 changed files
with
34,153 additions
and
87,816 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 |
---|---|---|
|
@@ -14,7 +14,21 @@ | |
name: Testing platform auth | ||
|
||
# Determine what events are going to trigger a running of the workflow | ||
on: [pull_request] | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- develop | ||
- releases/** | ||
pull_request: | ||
branches: | ||
- main | ||
- develop | ||
- releases/** | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
# The job named build | ||
|
@@ -36,17 +50,17 @@ jobs: | |
# Each step will be run in order of listing. | ||
steps: | ||
# checkout the volttron repository and set current direectory to it | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
|
||
# setup the python environment for the operating system | ||
- name: Set up Python ${{matrix.os}} ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
# Run the specified tests and save the results to a unique file that can be archived for later analysis. | ||
- name: Run pytest on ${{ matrix.python-version }}, ${{ matrix.os }} | ||
uses: volttron/volttron-build-action@v4 | ||
uses: volttron/volttron-build-action@v6 | ||
with: | ||
python_version: ${{ matrix.python-version }} | ||
os: ${{ matrix.os }} | ||
|
@@ -55,20 +69,20 @@ jobs: | |
|
||
# Archive the results from the pytest to storage. | ||
- name: Archive test results | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: pytest-report | ||
path: output/test-auth-${{matrix.os}}-${{ matrix.python-version }}-results.xml | ||
|
||
# - name: Publish Unit Test Results | ||
# uses: EnricoMi/[email protected] | ||
# if: always() | ||
# with: | ||
# github_token: ${{ secrets.WORKFLOW_ACCESS_TOKEN }} | ||
# files: output/test-testutils*.xml | ||
|
||
|
||
#-cov=com --cov-report=xml --cov-report=html | ||
# pytest tests.py --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html | ||
# - name: Lint with flake8 | ||
|
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.