-
Notifications
You must be signed in to change notification settings - Fork 14
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 #37 from PelionIoT/release-2.5.0
Release 2.5.0
- Loading branch information
Showing
28 changed files
with
334 additions
and
212 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,126 @@ | ||
name: PR-check | ||
run-name: ${{ github.actor }} PR checker | ||
on: [push] | ||
jobs: | ||
run_tox_on_ubuntu22: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.7' | ||
- run: python -m pip install wheel --user | ||
- run: python -m pip install pipx-in-pipx --user | ||
- run: pipx install tox | ||
# No py36 available in ubuntu 22.04, skip it | ||
- run: tox | ||
run_tox_on_ubuntu20: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.7' | ||
- run: python -m pip install wheel --user | ||
- run: python -m pip install pipx-in-pipx --user | ||
- run: pipx install tox | ||
- run: tox | ||
|
||
run_tox_on_windows2022: | ||
runs-on: windows-2022 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.7' | ||
- run: python -m pip install wheel --user | ||
- run: python -m pip install pipx-in-pipx --user | ||
- run: pipx install tox | ||
- run: tox | ||
|
||
run_tox_on_windows2019: | ||
runs-on: windows-2019 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.7' | ||
- run: wmic os get osarchitecture | ||
- run: python -m pip install wheel --user | ||
- run: python -m pip install pipx-in-pipx --user | ||
- run: pipx install tox | ||
- run: tox | ||
|
||
run_tox_on_mac: | ||
runs-on: macos-11 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.7' | ||
- run: python -m pip install wheel --user | ||
- run: python -m pip install pipx-in-pipx --user | ||
- run: pipx install tox | ||
- run: tox | ||
|
||
# We are not ready for this yet... | ||
# run-pysh-check: | ||
# runs-on: ubuntu-22.04 | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# # Install pyshcheck tooling | ||
# - run: sudo apt install pycodestyle pydocstyle black | ||
# # git instead of rules to use access token | ||
# - run: git config --global url."https://${{ secrets.ACCESS_TOKEN }}@github.com/".insteadOf "[email protected]:" | ||
# - run: git config --global url."https://${{ secrets.ACCESS_TOKEN }}@github".insteadOf "https://github" | ||
# - run: git config --list | ||
# # Linux coreutils is already installed wc -command can be found. | ||
# - run: git clone [email protected]:PelionIoT/scripts-internal.git | ||
# #- run: git clone https://github.com/PelionIoT/scripts-internal.git | ||
# - run: echo "." >scripts-internal/.nopyshcheck | ||
# - run: .github/workflows/pysh-checker.sh ${{ github.event.repository.default_branch }} ${{ github.ref_name }} |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
pytest | ||
pytest==6.2.5 | ||
pytest-mock | ||
pytest-cov | ||
tox | ||
pylint | ||
pylint==2.13.9 | ||
pycodestyle | ||
coverage | ||
wheel | ||
|
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.