forked from VOLTTRON/volttron
-
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.
merging changes from desigo publishing branch
- Loading branch information
Showing
532 changed files
with
21,298 additions
and
115,560 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
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. |
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,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. |
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,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 |
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
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 |
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.