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:14:31 UTC

[libcloud] 01/01: Update and rename .github/workflows/main.yml to main.yml

This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch github_actions_wip
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit 3f92e089002e973bb20aa11d72e269680818969f
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Tue Aug 13 20:14:23 2019 +0200

    Update and rename .github/workflows/main.yml to main.yml
---
 main.yml | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/main.yml b/main.yml
new file mode 100644
index 0000000..a2af4df
--- /dev/null
+++ b/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 }}