Skip to content

Commit

Permalink
Migrate to GitHub actions #135 (#136)
Browse files Browse the repository at this point in the history
Co-authored-by: Jan <[email protected]>
  • Loading branch information
Shivanirathod126 and jankrepl authored Aug 2, 2022
1 parent cbb9934 commit ecddac7
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 29 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Python application

on:
push:
branches: [master]
pull_request:

permissions:
contents: read

jobs:
build:

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macost-latest]
python-version: [3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v3

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

- name: List dependencies
run: |
pip freeze
- name: Lint
run: |
pip install flake8, pydocstyle
flake8 deepdow tests
pydocstyle deepdow
- name: Install dependencies
run: |
pip install .[docs,examples]
- name: Run unittests
run: |
pytest
- name: Run doctests
run: |
pip install sphinx
sphinx-build -b doctest docs/ temp_doctest
- name: Run cover coverage
uses: codecov/codecov-action@v1
28 changes: 0 additions & 28 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
![final](https://user-images.githubusercontent.com/18519371/79003829-afca6380-7b53-11ea-8322-f05577536957.png)

[![Build Status](https://travis-ci.com/jankrepl/deepdow.svg?branch=master)](https://travis-ci.com/jankrepl/deepdow)
[![codecov](https://codecov.io/gh/jankrepl/deepdow/branch/master/graph/badge.svg)](https://codecov.io/gh/jankrepl/deepdow)
[![Documentation Status](https://readthedocs.org/projects/deepdow/badge/?version=latest)](https://deepdow.readthedocs.io/en/latest/?badge=latest)
[![PyPI version](https://badge.fury.io/py/deepdow.svg)](https://badge.fury.io/py/deepdow)
Expand Down

0 comments on commit ecddac7

Please sign in to comment.