Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Link Status

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-16.04
strategy:
matrix:
python-version: [ '3.6', '3.7' ]
name: Python ${{ matrix.python-version }}
steps:
- name: Checkout to master
uses: actions/checkout@master

- name: Setup python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
architecture: x64

- name: Pre-Commit
run: |
python -m pip install pre-commit
pre-commit run -a

- name: Analysis (git diff)
if: failure()
run: git diff

- name: Publish package
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_linkstatus }}
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.