You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2020/12/13 13:29:12 UTC
[libcloud] branch github_actions_take_2 updated (dfb17e5 -> 593bcc4)
This is an automated email from the ASF dual-hosted git repository.
tomaz pushed a change to branch github_actions_take_2
in repository https://gitbox.apache.org/repos/asf/libcloud.git.
from dfb17e5 Make sure we pass secrets to the workflows.
new ab80ac8 Improve formatting.
new 593bcc4 Fix syntax.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/main.yml | 110 +++++++++++++++++++++++++--------------------
requirements-tests.txt | 2 +-
tox.ini | 2 +-
3 files changed, 63 insertions(+), 51 deletions(-)
[libcloud] 02/02: Fix syntax.
Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tomaz pushed a commit to branch github_actions_take_2
in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit 593bcc48a8cac93345ac3eaf165b36d48ce17c0e
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sun Dec 13 14:28:58 2020 +0100
Fix syntax.
---
requirements-tests.txt | 2 +-
tox.ini | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/requirements-tests.txt b/requirements-tests.txt
index 3a48bf8..7ebe7ca 100644
--- a/requirements-tests.txt
+++ b/requirements-tests.txt
@@ -3,7 +3,7 @@ flake8==3.7.9
astroid==2.3.3
pylint==2.4.4
mock==3.0.5
-codecov==2.1.4
+codecov==2.1.10
coverage==4.5.4
requests
requests_mock
diff --git a/tox.ini b/tox.ini
index 1b3b81a..b15d207 100644
--- a/tox.ini
+++ b/tox.ini
@@ -236,7 +236,7 @@ setenv =
CRYPTOGRAPHY_ALLOW_OPENSSL_102=1
commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
coverage run --source=libcloud setup.py test
- codecov==2.1.10
+ codecov
[testenv:mypy]
deps =
[libcloud] 01/02: Improve formatting.
Posted by to...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tomaz pushed a commit to branch github_actions_take_2
in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit ab80ac881f5ea0a084006ca08f81cdb8973468f5
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Sun Dec 13 14:26:33 2020 +0100
Improve formatting.
---
.github/workflows/main.yml | 110 +++++++++++++++++++++++++--------------------
1 file changed, 61 insertions(+), 49 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index f2fdf0d..62a8127 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -45,22 +45,26 @@ jobs:
- ubuntu-latest
steps:
- - uses: actions/checkout@master
- with:
- fetch-depth: 1
- - name: Use Python ${{ matrix.python_version }}
- uses: actions/setup-python@v2
- with:
- python-version: ${{ matrix.python_version }}
- - name: Install OS / deb dependencies
- run: |
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq gcc libvirt-dev
- - name: Install Python Dependencies
- run: |
- pip install "tox==3.20.1"
- - name: Run tox target
- run: |
- tox -e py${{ matrix.python_version }}
+ - uses: actions/checkout@master
+ with:
+ fetch-depth: 1
+
+ - name: Use Python ${{ matrix.python_version }}
+ uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python_version }}
+
+ - name: Install OS / deb dependencies
+ run: |
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq gcc libvirt-dev
+
+ - name: Install Python Dependencies
+ run: |
+ pip install "tox==3.20.1"
+
+ - name: Run tox target
+ run: |
+ tox -e py${{ matrix.python_version }}
code_coverage:
name: Generate Code Coverage
@@ -74,25 +78,29 @@ jobs:
python_version: [3.7]
steps:
- - uses: actions/checkout@master
- with:
- fetch-depth: 1
- - name: Use Python ${{ matrix.python_version }}
- uses: actions/setup-python@v2
- with:
- python-version: ${{ matrix.python_version }}
- - name: Install OS / deb dependencies
- run: |
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq graphviz gcc libvirt-dev
- - name: Install Python Dependencies
- run: |
- pip install "tox==3.20.1"
- - name: Run Checks
- run: |
- tox -e coverage-ci
+ - uses: actions/checkout@master
+ with:
+ fetch-depth: 1
+
+ - name: Use Python ${{ matrix.python_version }}
+ uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python_version }}
+
+ - name: Install OS / deb dependencies
+ run: |
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq graphviz gcc libvirt-dev
+
+ - name: Install Python Dependencies
+ run: |
+ pip install "tox==3.20.1"
+
+ - name: Run Checks
+ run: |
+ tox -e coverage-ci
lint_checks:
- name: Run various lint checks
+ name: Run Various Lint and Other Checks
runs-on: ubuntu-latest
needs: pre_job
@@ -103,22 +111,26 @@ jobs:
python_version: [3.7]
steps:
- - uses: actions/checkout@master
- with:
- fetch-depth: 1
- - name: Use Python ${{ matrix.python_version }}
- uses: actions/setup-python@v2
- with:
- python-version: ${{ matrix.python_version }}
- - name: Install OS / deb dependencies
- run: |
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq graphviz gcc libvirt-dev
- - name: Install Python Dependencies
- run: |
- pip install "tox==3.20.1"
- - name: Run Checks
- run: |
- tox -e checks,import-timings,lint,pylint
+ - uses: actions/checkout@master
+ with:
+ fetch-depth: 1
+
+ - name: Use Python ${{ matrix.python_version }}
+ uses: actions/setup-python@v2
+ with:
+ python-version: ${{ matrix.python_version }}
+
+ - name: Install OS / deb dependencies
+ run: |
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq graphviz gcc libvirt-dev
+
+ - name: Install Python Dependencies
+ run: |
+ pip install "tox==3.20.1"
+
+ - name: Run Checks
+ run: |
+ tox -e checks,import-timings,lint,pylint
docs:
name: Build and upload Documentation