-
Notifications
You must be signed in to change notification settings - Fork 20
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 #693 from mulkieran/develop-2.2.1-2.3.0
Develop 2.2.1 2.3.0
- Loading branch information
Showing
21 changed files
with
653 additions
and
105 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,75 @@ | ||
--- | ||
name: stratis-cli CI | ||
|
||
# yamllint disable-line rule:truthy | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop-2.2.1 | ||
pull_request: | ||
branches: | ||
- master | ||
- develop-2.2.1 | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
python-checks: | ||
strategy: | ||
matrix: | ||
include: | ||
# MANDATORY CHECKS USING CURRENT DEVELOPMENT INTERPRETER | ||
- python-version: 3.7.9 | ||
dependencies: > | ||
pylint==2.4.4 | ||
dbus-client-gen==0.4 | ||
dbus-python-client-gen==0.7 | ||
justbytes==0.11 | ||
python-dateutil==2.8.0 | ||
wcwidth==0.1.9 | ||
psutil==5.6.7 | ||
semantic_version==2.6.0 | ||
task: PYTHONPATH=./src make -f Makefile lint | ||
- python-version: 3.7.9 | ||
dependencies: black==19.10b0 isort==4.3.21 | ||
task: make -f Makefile fmt-travis | ||
- python-version: 3.7.9 | ||
dependencies: > | ||
dbus-client-gen==0.4 | ||
dbus-python-client-gen==0.7 | ||
justbytes==0.11 | ||
python-dateutil==2.8.0 | ||
wcwidth==0.1.9 | ||
psutil==5.6.7 | ||
semantic_version==2.6.0 | ||
task: PYTHONPATH=./src make -f Makefile test-travis | ||
# MANDATORY CHECKS USING LOWEST SUPPORTED INTERPRETER | ||
- python-version: 3.6.8 | ||
dependencies: > | ||
pylint==2.4.4 | ||
dbus-client-gen==0.4 | ||
dbus-python-client-gen==0.7 | ||
justbytes==0.11 | ||
python-dateutil==2.6.1 | ||
psutil==5.4.3 | ||
semantic_version==2.6.0 | ||
task: PYTHONPATH=./src make -f Makefile lint | ||
# VERIFICATION OF TEST INFRASTRUCTURE | ||
- python-version: 3.7.9 | ||
dependencies: yamllint==1.23.0 | ||
task: make -f Makefile yamllint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get -q update | ||
sudo apt-get -y install libdbus-glib-1-dev | ||
pip3 install ${{ matrix.dependencies }} | ||
- name: Run test | ||
run: ${{ matrix.task }} |
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
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.