Skip to content

Commit

Permalink
Releases/8.2 (VOLTTRON#3046)
Browse files Browse the repository at this point in the history
* Disable abbrev on long options; add test

* add setup file to SCPAgent

* Fix exception order

* Remove RELEASE_NOTES.md

* added quick-start tutorial to documentation, under developing-volttron

* added quick-start tutorial to documentation, under developing-volttron

* Update to non-auth and modular auth for volttron.
Added dataclasses for parameters.
Moved and restructured code to break out rmq and zmq, and provide standardized APIs where applicable.

* Added 'vui' group to the generation of the web-users.json file in web/admin-endpoints.

* add readme to example C Agent

* added more details to the readme

* change readme file type to markdown

* fix headings

* remove extra parenthesis

* tested CSV agent and driver, and added to README

* updated the readme and added execute permission to the launch_my_historian.sh script

* merge

* add readme

* added readme with link to docs

* fix location of test_certs file in workflow for platform tests

* Added ZMQ/RMQ Client Authorization for Auth subsystem.
Updated terminology in main/config.
Updated allow auth to be True by default.
Cleaned up some imports.

* hot fix sphinx ref syntax error

* fix for VOLTTRON#2901 VOLTTRON#2864 (fix for rmq test cases with pika v1.2.0)
Work around for VOLTTRON#2938

* hot fix CLI command error, sphinx syntax error

* Enabling rmq fixture for testing

* bug fix based on tests

* hot fix CLI command error, sphinx syntax error

* Updates to fix import issues.

* Added agent/config, which includes both agent/configs and agent/configs/filename endpoints and their test to vui_endpoints.

* Added agent/config, which includes both agent/configs and agent/configs/filename endpoints and their test to vui_endpoints.

* Merged Platforms Agents Configs endpoints in vui_endpoints.py. Minor fixes and added documentation for these endpoints.

* Fix for issue VOLTTRON#2950. Handle unexpected exception in process loop

* fix for issue VOLTTRON#2945

* Removed initial non-auth tests.
Added handling for allow_auth and AUTH_ENABLED to manage use of auth in config file.
Minor code cleanup.

* Added is_web_enabled, and is_auth_enabled to utils __all__.
Added AuthFileIndexError to auth __init__.py
Updated agent core to use is_auth_enabled.
Fixed mocked auth service to work with new auth service design.

* debugging mysql unit tests

* debugging mysql unit tests

* debugging mysql unit tests

* debugging mysql unit tests

* debugging mysql unit tests

* debugging mysql unit tests

* debugging mysql unit tests

* raised an error when config path doesnt exist

* Fixed import errors for tests.
Fixed connection issue to remote platforms.
Fixed rpc call names in web and web tests.

* created tests for load_config

* add readme for scheduler example agent

* add readme and small updates to agent.py file

* remove comment from python file and added it into a readme

* renamed config file and added in installation instructions to readme

* Fixed web to use appropriate auth methods.
Modified ZMQServerAuthentication and ZMQAuthorization to reference AuthService instance directly.

* updated readme to be more verbose and updated some comments in settings.py

* create readme using comment from python file, updated comments in settings.py

* Update README.md

* update readme

* updated readme based on PR comments

* updated readme

* add readme following similar structure to other stand alone example agents

* update readme

* update readme

* update numbering in readme

* created README and removed comments from config

* updated readme, and reverted changes to config

* change back to simpleweb

* get rid of the repetivie driver_type: fakedriver

* Update fake.config

remove comma to make json compliant

* add setup file, add readme, add certs verification to do_rpc function

* Added documentation for non-auth implementation, and modular approach to auth authentication and authorization.

* Updated pytests configuration to ignore contrib and unsupported files.
Updated openadr ven agent to ignore tests if dependencies aren't found.
Update actuator agent to ignore tests if local dependencies aren't found.
Increased default timeout to 300.

* delete WebRPC example agent, functionality will be moved over to jsonrpc endpoint of SimpleWebAgent

* Fixed missing external_platform argument in vui_endpoints.handle_platforms_agents_running._agent_running()

* Fixed accidental string conversion in vui_endpoints.handle_platforms_agents_enabled().

* Added checks for specific dependencies for MQTTHistorian.
Increased timeout for vc and platform driver install.
Added auth_enabled to PlatformWrapper.
Added Non-auth cases to volttron_instance and volttron_web_instance.

* Cleanup stop-volttron

* Update docs link

* small fix to BaseClientAuthorization's connect_remote_platform method.

* Minor ZMQAuthorization updates.

* Monkey patching in Control to fix gevent monkeypatching warning.

* Update requirements.py

Bump gevent to latest.

* Changed "route_options" to "links". Fixed behaviour of agents/vip_identity endpoint. Fixed tests.

* Delete IntervalValues.csv

Removed accidental addition to commit.

* Refactored connect_remote_platform into core.
Handled auth case in connect_remote_platform for zmq case.
 Cleaned up monkeypatch implementation for main, control_parser, and vip.

* Fixed rmq auth connection issues

* fixing merge conflict

* Pinned value for idna to fix issue with VC login authentication.

* Updated VC test to fail appropriately.
Modified is_running_in_container to handle subprocess error in call.

* Minor fixes to remote connection.

* WARNING: Test improvement to RMQ dependencies script. May remove before rc.

* minor fixes to rmq core platform connection

* Fixed RMQ connections.
Fixed web authentication page for RMQ.
Fixed CSR handling.

* Undid debug log messages

* Modified context to use TLSv1.

* Removed deprecated connect_remote_platform from auth subsystem.
Added grequests.
Updated connection_params for build_remote_connection_params.
Fixed url_address missing from RMQConnectionAPI.

* Remove duplicated code.

* Calling base class constructor

* fixed auth tests failing in non auth. Auth tests shouldn't run in non auth version

* Fixed typo

* Fix vc test using correct grequest api

* Fixes for forward historian connection between rmq and zmq instances

* Added toctree link to web-api documentation.

* Added toctree entries for web-api documentation.

* Removed upgrade option from bootstrap.py and made this the default.

* Remove updgrade option from bootstrap.py and make this behavior the default.

* federation/shovel fixes

* Use volttron-build-action v4 for rmq actions

* updated to using v4 of volttron-build-action

* Removed downstream tests for now.

* update version in the correct spot.

* Tests without connections shouldn't take volttron_instance.

* Update version/license and pinned requirements

* fix for issue VOLTTRON#2945

* non auth fixes primarily for rmq

* moved code to deprecated

* moved code to deprecated

* reverting accidental commit

* reverting accidental commit

* Update driver tests; cleanup logs for security agent

* Fix for issue VOLTTRON#2992

* fix for non auth

* commented out deprecated dbs for historian testing

* deleted test module that test only with the default config. agents that deal with database always need db details so agent won't work with default/empty configs

* Added fixture to skip for non auth case

* Added support for getting forecast data using station id. Issue number VOLTTRON#2994

* removed crate and mongo historian from test param as we do not support those historians any more

* Added link to restful API from agent web framework. Renamed link from VUI to "Restful Web Interface".

* removed unused import - VOLTTRON#2997

* Protect import statements when rabbitmq not installed

* Added link to restful API from agent web framework. Renamed link from VUI to "Restful Web Interface".

* Fix for issue VOLTTRON#2999

* Fix for issue VOLTTRON#2997

* Update volttron_platform_fixtures.py

Uncommented that was commented for debugging

* Increased sleep time in test_file_watcher to avoid timing issue with rmq.

* Add auth check

* Fix import statement

* skip rmq specific tests if pika is not available

* removed unused import

* test fixes

* Merge pull request VOLTTRON#2882 from bonicim/feature/vctl-tag

Add --all-tagged option; add and fix vctl tests

* xfailed web tests as they are redundent.

* Cleanup commented out code

* Cleanup auth.py code add MagicMock to gitignore.

* Reformat code.

* Fix web test auth enabled is required for passing test.

* Fix rmq tests that weren't being run for web.

* RMQ web auth tests aren't valid.
Because the local agents are added on demand, so they need to be reworked.

* Fixed installation issue timeout with small buffer.

* param for fixture is passed through platform web instance.
xfail for rmq<-zmq web and zmq<-rmq web.

* param for fixture is passed through platform web instance.
xfail for rmq<-zmq web and zmq<-rmq web.

* Update README.md

Pinned helics pypi version to 2.8.0. 
Fixes Issue VOLTTRON#3012

* skip rmq tests.

* 20 second wait is not required.

* Disabled webcsr tests for now.

* Fix spelling error.

* Fix spelling error.

* Refactor PlatformDriver test (VOLTTRON#3013)

* Refactor PlatformDriver tests

* Reformat test to PEP 8 compliance

* Tests/fix test global settings (VOLTTRON#3014)

* Refactor config store test fixture

* Reformat code to be PEP 8 compliant

* Tests/fix test device groups (VOLTTRON#3016)

* Fix test_device_groups

* Reformat to PEP8 compliance

* Add logic to parse unsupported objects (VOLTTRON#3021)

* 8.2 doc updates for non auth and left tree reorg (VOLTTRON#3019)

* Updated Read the docs for non auth mode. moved docs around to reduce the length of left side nav tree

* Updated Read the docs for non auth mode. moved docs around to reduce the length of left side nav tree

* Update mongodb-related dependencies (VOLTTRON#3005)

* hot-fix-doc/#3030There-are-two-menu-items-with-quickstart-to-two-different-locations (VOLTTRON#3032)

* Remove unused import (VOLTTRON#3017)

* Fix VOLTTRON_HOME substitution

* Remove unused import

Co-authored-by: Chandrika <[email protected]>
Co-authored-by: Craig <[email protected]>

* Modify expected output (VOLTTRON#3004)

* Modify expected output

* Update test

* Remove unused imports (VOLTTRON#3018)

* Fix VOLTTRON_HOME substitution

* Remove unused imports

Co-authored-by: Chandrika <[email protected]>
Co-authored-by: Craig <[email protected]>

* small updates to README (VOLTTRON#2962)

* Update openadr docs (VOLTTRON#3034)

* Renamed secure mode to agent isolation mode - fix for VOLTTRON#3035 (VOLTTRON#3036)

* fix for issue VOLTTRON#3035

* renamed script used to stop agent running in isolation mode

* Update main copyright for rtd and fix formatting (VOLTTRON#3033)

* Update vc list docs
Fix VOLTTRON#3029

* Modify Copyright Date
Fix VOLTTRON#3023

* Create CODE_OF_CONDUCT.md (VOLTTRON#3040)

* Update issue templates (VOLTTRON#3039)

* Update issue templates

* Update bug_report.md

Remove smartphone from bug template.
Add Volttron Version

* Minor fix for volttron-upgrade command (VOLTTRON#3038)

* fix for issue VOLTTRON#3035

* renamed script used to stop agent running in isolation mode

* Fix for issue VOLTTRON#3037

* using pathlib.Path instead of os path

* #Updated 8.x upgrade doc about agent-isolation-mode - VOLTTRON#3025 (VOLTTRON#3042)

* #Updated 8.x upgrade document to include details about agent-isolation-mode. fixes VOLTTRON#3025

* #Updated 8.x upgrade document to include details about agent-isolation-mode. fixes VOLTTRON#3025

* Updated release history. fixes VOLTTRON#3031 (VOLTTRON#3043)

* More rtd updates. updated broken links, cleaned up left side tree (VOLTTRON#3044)

Co-authored-by: Mark Bonicillo <[email protected]>
Co-authored-by: gwenkidd <[email protected]>
Co-authored-by: Cody Scott <[email protected]>
Co-authored-by: Kefei Mo <[email protected]>
Co-authored-by: gilb842 <[email protected]>
Co-authored-by: David M. Raker <[email protected]>
Co-authored-by: schandrika <[email protected]>
Co-authored-by: Gokarna Jung Bhandari <[email protected]>
Co-authored-by: Chandrika <[email protected]>
Co-authored-by: Shwetha Niddodi <[email protected]>
Co-authored-by: sgilbride <[email protected]>
Co-authored-by: David M. Raker <[email protected]>
Co-authored-by: Gwen Kidd <[email protected]>
  • Loading branch information
14 people authored Oct 3, 2022
1 parent 127dff6 commit f69e876
Show file tree
Hide file tree
Showing 533 changed files with 21,299 additions and 115,544 deletions.
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Operating System (please complete the following information):**
- OS: [e.g. iOS]
- Volttron Version [develop, releases/8.2, main]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
70 changes: 70 additions & 0 deletions .github/workflows/code_analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ main, develop ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main, develop ]
schedule:
- cron: '25 18 * * 2'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript', 'python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
6 changes: 3 additions & 3 deletions .github/workflows/pytest-auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
fail-fast: false
matrix:
# Each entry in the os and python-version matrix will be run so for the 3 x 4 there will be 12 jobs run
os: [ ubuntu-18.04, ubuntu-20.04 ]
python-version: [ 3.6, 3.7] # , 3.8, 3.9 ]
os: [ ubuntu-20.04 ]
python-version: [ 3.8 ]

# Run-on determines the operating system available to run on
# - At the current time there is only ubuntu machines between 16.04 and 20.04 available
Expand All @@ -46,7 +46,7 @@ jobs:

# 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@v2
uses: volttron/volttron-build-action@v4
with:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pytest-dbutils-backup_db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
fail-fast: false
matrix:
# Each entry in the os and python-version matrix will be run. For example, on a list of 3 os's and 4 python versions, 12 jobs will be run
os: [ ubuntu-18.04, ubuntu-20.04 ]
python-version: [ 3.6, 3.7] # , 3.8, 3.9 ]
os: [ ubuntu-20.04 ]
python-version: [ 3.8 ]

# Run-on determines the operating system available to run on
# - At the current time there is only ubuntu machines between 16.04 and 20.04 available
Expand All @@ -60,7 +60,7 @@ jobs:
# 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@v1
uses: volttron/volttron-build-action@v4
timeout-minutes: 600
with:
python_version: ${{ matrix.python-version }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pytest-dbutils-influxdbfuncts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
fail-fast: false
matrix:
# Each entry in the os and python-version matrix will be run so for the 3 x 4 there will be 12 jobs run
os: [ ubuntu-18.04, ubuntu-20.04 ]
python-version: [ 3.6, 3.7] # , 3.8, 3.9 ]
os: [ ubuntu-20.04 ]
python-version: [ 3.8 ]

runs-on: ${{ matrix.os }}

Expand All @@ -50,7 +50,7 @@ jobs:
# 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@v1
uses: volttron/volttron-build-action@v4
timeout-minutes: 600
with:
python_version: ${{ matrix.python-version }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pytest-dbutils-mysqlfuncts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
fail-fast: false
matrix:
# Each entry in the os and python-version matrix will be run so for the 3 x 4 there will be 12 jobs run
os: [ ubuntu-18.04, ubuntu-20.04 ]
python-version: [ 3.6, 3.7] # , 3.8, 3.9 ]
os: [ ubuntu-20.04 ]
python-version: [ 3.8 ]

runs-on: ${{ matrix.os }}

Expand All @@ -50,7 +50,7 @@ jobs:
# 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@v1
uses: volttron/volttron-build-action@v4
timeout-minutes: 600
with:
python_version: ${{ matrix.python-version }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pytest-dbutils-postgresqlfuncts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
fail-fast: false
matrix:
# Each entry in the os and python-version matrix will be run so for the 3 x 4 there will be 12 jobs run
os: [ ubuntu-18.04, ubuntu-20.04 ]
python-version: [ 3.6, 3.7] # , 3.8, 3.9 ]
os: [ ubuntu-20.04 ]
python-version: [ 3.8 ]

runs-on: ${{ matrix.os }}

Expand All @@ -50,7 +50,7 @@ jobs:
# 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@v1
uses: volttron/volttron-build-action@v4
timeout-minutes: 600
with:
python_version: ${{ matrix.python-version }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pytest-dbutils-sqlitefuncts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
fail-fast: false
matrix:
# Each entry in the os and python-version matrix will be run so for the 3 x 4 there will be 12 jobs run
os: [ ubuntu-18.04, ubuntu-20.04 ]
python-version: [ 3.6, 3.7] # , 3.8, 3.9 ]
os: [ ubuntu-20.04 ]
python-version: [ 3.8 ]

runs-on: ${{ matrix.os }}

Expand All @@ -51,7 +51,7 @@ jobs:
# 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@v1
uses: volttron/volttron-build-action@v4
timeout-minutes: 600
with:
python_version: ${{ matrix.python-version }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pytest-dbutils-timescaldbfuncts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
fail-fast: false
matrix:
# Each entry in the os and python-version matrix will be run so for the 3 x 4 there will be 12 jobs run
os: [ ubuntu-18.04, ubuntu-20.04 ]
python-version: [ 3.6, 3.7] # , 3.8, 3.9 ]
os: [ ubuntu-20.04 ]
python-version: [ 3.8 ]

runs-on: ${{ matrix.os }}

Expand All @@ -50,7 +50,7 @@ jobs:
# 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@v1
uses: volttron/volttron-build-action@v4
timeout-minutes: 600
with:
python_version: ${{ matrix.python-version }}
Expand Down
102 changes: 102 additions & 0 deletions .github/workflows/pytest-miscellaneous-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
---
# This workflow is meant as a foundational workflow for running integration/unit tests on multiple targeted
# ubuntu versions with multiple python versions.
#
# This workflow utilizes the build-dependency-cache workflow which sets up the environment dependencies using
# bootstrap.py --all
#

# Documentation for the syntax of this file is located
# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions

# The workflow name will show up in the action tab on github during execution
# https://github.com/VOLTTRON/volttron/actions (or if you are pushing to your own fork change the user)
name: Miscellaneous platform tests

on:
push:
branches:
- develop
- releases/**
pull_request:
branches:
- main
- develop
- releases/**

jobs:
# The job named build
build:
# The strategy allows customization of the build and allows matrixing the version of os and software
# https://docs.github.com/en/[email protected]/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstrategy
strategy:
fail-fast: false
matrix:
# Each entry in the os and python-version matrix will be run
os: [ ubuntu-20.04 ]
python-version: [ 3.8 ]

# Run-on determines the operating system available to run on
# - At the current time there is only ubuntu machine 20.04 available
# - This uses the matrix os from the strategy above
runs-on: ${{ matrix.os }}

# Each step will be run in order of listing.
steps:
# Checkout the volttron repository and set current direectory to it
- uses: actions/checkout@v2

# Setup the python environment for the operating system
- name: Set up Python ${{matrix.os}} ${{ matrix.python-version }}
uses: actions/setup-python@v2
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 certs test on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v4
with:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
test_path: volttrontesting/platform/web/test_certs.py
test_output_suffix: misc

- name: Run core agent test on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v4
with:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
test_path: volttrontesting/platform/test_core_agent.py
test_output_suffix: misc

- name: Run packaging test on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v4
with:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
test_path: volttrontesting/platform/test_packaging.py
test_output_suffix: misc

- name: Run platform init test on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v4
with:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
test_path: volttrontesting/platform/test_platform_init.py
test_output_suffix: misc

- name: Run sqlite3 test on ${{ matrix.python-version }}, ${{ matrix.os }}
uses: volttron/volttron-build-action@v4
with:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
test_path: volttrontesting/platform/test_sqlite3_fix.py
test_output_suffix: misc

# Archive the results from the pytest to storage.
- name: Archive test results
uses: actions/upload-artifact@v2
if: always()
with:
name: pytest-report
path: output/test-web-${{matrix.os}}-${{ matrix.python-version }}-results.xml
6 changes: 3 additions & 3 deletions .github/workflows/pytest-testutils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
fail-fast: false
matrix:
# Each entry in the os and python-version matrix will be run so for the 3 x 4 there will be 12 jobs run
os: [ ubuntu-18.04, ubuntu-20.04 ]
python-version: [ 3.6, 3.7] # , 3.8, 3.9 ]
os: [ ubuntu-20.04 ]
python-version: [ 3.8 ]

runs-on: ${{ matrix.os }}

Expand All @@ -45,7 +45,7 @@ jobs:

# 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@v1
uses: volttron/volttron-build-action@v4
with:
python_version: ${{ matrix.python-version }}
os: ${{ matrix.os }}
Expand Down
Loading

0 comments on commit f69e876

Please sign in to comment.