Skip to content

Commit

Permalink
Adds GitHub Actions for running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gvangool committed Aug 31, 2019
1 parent d560dba commit f3d8adc
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI

on: [push]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python: [ '2.7' ]
name: Python ${{ matrix.python }} tests
steps:
- uses: actions/checkout@master
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
architecture: x64
- name: Running tox
run: |
python -m pip install tox
tox -e $(tox -ls | grep py$(echo ${{ matrix.python }} | sed 's/\.//') | sed ':1;N;s/\n/,/;t1')

0 comments on commit f3d8adc

Please sign in to comment.