Skip to content

Commit

Permalink
Merge pull request #42 from Y-oHr-N/github-actions
Browse files Browse the repository at this point in the history
Test with GitHub Actions
  • Loading branch information
Y-oHr-N authored Feb 3, 2020
2 parents d1db1a6 + 245f582 commit 2fde109
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .circleci/config.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Python package

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]

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 .[develop]
- name: Test with pytest
run: |
python setup.py test

0 comments on commit 2fde109

Please sign in to comment.