Skip to content

Commit

Permalink
Merge pull request #1672 from CartoDB/chore/ch88281/github-actions-ci…
Browse files Browse the repository at this point in the history
…-for-cartoframes

Switch from Travis to Github Actions
  • Loading branch information
Jesus89 committed Aug 20, 2020
2 parents 4c1f046 + 44c58e1 commit fbcec7e
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 12 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/cartoframes-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Run CARTOFrames tests

on:
push:
pull_request:
branches:
- master
- develop

jobs:
test:
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8]

name: Run tests on Python ${{ matrix.python-version }}

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
pip install tox-gh-actions
- name: Test with tox
run: |
tox
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

7 changes: 7 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
[tox]
envlist = py35, py36, py37, py38

[gh-actions]
python =
3.5: py35
3.6: py36
3.7: py37
3.8: py38

[testenv]
deps =
flake8
Expand Down

0 comments on commit fbcec7e

Please sign in to comment.