Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
qimiko committed Mar 24, 2022
2 parents 0aeeda3 + 5ac07c3 commit 09ae493
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/check-conform.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Check Conformance

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pylint
- name: Lint with flake8
run: |
flake8 ./gdlevelconverter setup.py --count --show-source --statistics --max-line-length=100
- name: Lint with pylint
run: |
pylint ./gdlevelconverter setup.py
- name: Test with unittest
run: |
python -m unittest discover

0 comments on commit 09ae493

Please sign in to comment.