Skip to content

Commit

Permalink
Add github workflow test
Browse files Browse the repository at this point in the history
  • Loading branch information
LyzardKing committed Apr 30, 2020
1 parent 312bdd8 commit 483a886
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/style_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: style_test

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
sudo apt install gir1.2-gtk-3.0 libgirepository1.0-dev libapt-pkg-dev fakeroot
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
run: |
./runtests pep8

0 comments on commit 483a886

Please sign in to comment.