libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [libcloud] 01/01: Update and rename .github/workflows/main.yml to main.yml
Date Tue, 13 Aug 2019 18:14:31 GMT
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 <tomaz@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 }}


Mime
View raw message