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 2019/08/13 18:15:20 UTC
[libcloud] 01/01: Update main.yml
This is an automated email from the ASF dual-hosted git repository.
tomaz pushed a commit to branch github_actions_wip1
in repository https://gitbox.apache.org/repos/asf/libcloud.git
commit b6d0f0901170ce462b9d91c44e78a19287422d81
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Tue Aug 13 20:15:15 2019 +0200
Update main.yml
---
.github/workflows/main.yml | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..a2af4df
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,28 @@
+name: CI
+
+on: [push]
+
+jobs:
+ build:
+ name: Run lint checks and tests
+ runs-on: ${{ matrix.os }}
+
+ strategy:
+ matrix:
+ python_version: [2.7, 3.4, 3.5, 3.6, 3.7]
+ os: [ubuntu-latest]
+
+ steps:
+ - uses: actions/checkout@master
+ - name: Use Python ${{ matrix.python_version }}
+ uses: actions/setup-python@v1
+ with:
+ version: ${{ matrix.python_version }}
+ - name: Install Dependencies
+ run: |
+ pip install --upgrade "pip"
+ pip install --upgrade "virtualenv"
+ pip install "tox=3.12.1"
+ - name: Run tox target
+ run: |
+ tox -e py${{ matrix.python_version }}