-
-
Notifications
You must be signed in to change notification settings - Fork 799
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
98 changed files
with
3,866 additions
and
589 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,42 @@ | ||
name: Core | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
python-version: [2.7, 3.7] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
git submodule update --init --recursive | ||
python -m pip install --upgrade pip | ||
pip install tox | ||
- name: Python Lint | ||
run: | | ||
tox -e lint | ||
- name: Integration Tests | ||
env: | ||
PLATFORMIO_TEST_ACCOUNT_LOGIN: ${{ secrets.PLATFORMIO_TEST_ACCOUNT_LOGIN }} | ||
PLATFORMIO_TEST_ACCOUNT_PASSWORD: ${{ secrets.PLATFORMIO_TEST_ACCOUNT_PASSWORD }} | ||
run: | | ||
tox -e testcore | ||
- name: Slack Notification | ||
uses: homoluctus/slatify@master | ||
if: failure() | ||
with: | ||
type: ${{ job.status }} | ||
job_name: '*Core*' | ||
commit: true | ||
url: ${{ secrets.SLACK_BUILD_WEBHOOK }} |
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: Docs | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.7 | ||
- name: Install dependencies | ||
run: | | ||
git submodule update --init --recursive | ||
python -m pip install --upgrade pip | ||
pip install tox | ||
- name: Build docs | ||
run: | | ||
tox -e docs | ||
- name: Slack Notification | ||
uses: homoluctus/slatify@master | ||
if: failure() | ||
with: | ||
type: ${{ job.status }} | ||
job_name: '*Docs*' | ||
commit: true | ||
url: ${{ secrets.SLACK_BUILD_WEBHOOK }} |
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,62 @@ | ||
name: Examples | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-16.04, windows-latest, macos-latest] | ||
python-version: [2.7, 3.7] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
git submodule update --init --recursive | ||
python -m pip install --upgrade pip | ||
pip install tox | ||
- name: Run on Linux | ||
if: startsWith(matrix.os, 'ubuntu') | ||
env: | ||
PIO_INSTALL_DEVPLATFORMS_IGNORE: "ststm8,infineonxmc,intel_mcs51,aceinna_imu" | ||
run: | | ||
# ChipKIT issue: install 32-bit support for GCC PIC32 | ||
sudo apt-get install libc6-i386 | ||
# Free space | ||
sudo apt clean | ||
docker rmi $(docker image ls -aq) | ||
df -h | ||
# Run | ||
tox -e testexamples | ||
- name: Run on macOS | ||
if: startsWith(matrix.os, 'macos') | ||
env: | ||
PIO_INSTALL_DEVPLATFORMS_IGNORE: "ststm8,infineonxmc,microchippic32,gd32v,nuclei" | ||
run: | | ||
df -h | ||
tox -e testexamples | ||
- name: Run on Windows | ||
if: startsWith(matrix.os, 'windows') | ||
env: | ||
PLATFORMIO_CORE_DIR: C:/pio | ||
PIO_INSTALL_DEVPLATFORMS_IGNORE: "ststm8,infineonxmc,riscv_gap" | ||
run: | | ||
tox -e testexamples | ||
- name: Slack Notification | ||
uses: homoluctus/slatify@master | ||
if: failure() | ||
with: | ||
type: ${{ job.status }} | ||
job_name: '*Examples*' | ||
commit: true | ||
url: ${{ secrets.SLACK_BUILD_WEBHOOK }} |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[settings] | ||
line_length=88 | ||
known_third_party=SCons, twisted, autobahn, jsonrpc | ||
known_third_party=OpenSSL, SCons, autobahn, jsonrpc, twisted, zope |
This file was deleted.
Oops, something went wrong.
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
Submodule examples
updated
49 files
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.