Skip to content

Commit

Permalink
Merge pull request #54 from Zsailer/actions
Browse files Browse the repository at this point in the history
switch CI to github actions
  • Loading branch information
Zsailer committed Sep 9, 2020
2 parents d44e217 + 5e32ff7 commit 78af624
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 49 deletions.
49 changes: 0 additions & 49 deletions .circleci/config.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Jupyter Telemetry Unit Tests
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
architecture: 'x64'
- name: Install the Python dependencies
run: |
pip install flake8
pip install -e .
- name: Run Linter
run: |
python -m flake8 jupyter_telemetry
29 changes: 29 additions & 0 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Jupyter Telemetry Unit Tests
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [ '3.5', '3.6', '3.7', '3.8' ]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
architecture: 'x64'
- name: Install the Python dependencies
run: |
pip install -r dev-requirements
pip install -e .
- name: Run the tests
run: |
pytest

0 comments on commit 78af624

Please sign in to comment.