Skip to content

Commit

Permalink
(#24) move CI to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-tessier committed Apr 1, 2021
1 parent d9a737e commit 2e2bd41
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 20 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/python-2-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Python 2.x tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 2.7
uses: actions/setup-python@v2
with:
python-version: 2.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/test.txt
- name: Test with unittest
run: |
make test_2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Python application
name: Python 3.x tests

on:
push:
Expand All @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
python-version: [3.5, 3.6, 3.7, 3.8]

steps:
- uses: actions/checkout@v2
Expand Down
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

0 comments on commit 2e2bd41

Please sign in to comment.