Skip to content

Commit

Permalink
Merge pull request #30 from jamesridgway/james/linting
Browse files Browse the repository at this point in the history
James/linting
  • Loading branch information
jamesridgway authored Mar 5, 2022
2 parents 2216b18 + 5739261 commit 72bdc12
Show file tree
Hide file tree
Showing 14 changed files with 685 additions and 27 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

name: CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [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 venv and dependencies
run: ./setup.sh
- name: pylint
run: ./run-pylint.sh
- name: Tests
run: ./run-tests.sh
12 changes: 7 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
.idea/
__pycache__/
dist/
*.pyc
.coverage
.idea/
.pytest_cache/
*.egg-info
venv/
attachment_downloader/version.py
*.pyc
attachment_downloader/version.py
dist/
htmlcov/
venv/
Loading

0 comments on commit 72bdc12

Please sign in to comment.