Skip to content

Commit

Permalink
Add lint stage
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <travis.collins@analog.com>
  • Loading branch information
tfcollins committed Nov 4, 2020
1 parent 3c2b419 commit 4719d55
Showing 1 changed file with 17 additions and 21 deletions.
38 changes: 17 additions & 21 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,21 @@ jobs:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: coveralls

Lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.6
uses: actions/setup-python@v2
with:
python-version: 3.6
- name: Install dependencies
run: |
bash ./.github/scripts/install_libiio.sh
sudo apt-get install -y python3-pip python3-setuptools
pip install -r requirements_dev.txt
- name: Test
run: tox -e flake8

# Lint:
# runs-on: ubuntu-latest

# steps:
# - uses: actions/checkout@v2
# - name: Set up Python 3.6
# uses: actions/setup-python@v2
# with:
# python-version: 3.6
# - name: Install dependencies
# run: |
# bash ./.github/scripts/install_libiio.sh
# sudo apt-get install -y python3-pip python3-setuptools
# pip install -r requirements.txt
# pip install -r requirements_dev.txt
# pip install pylibiio

# - name: Lint
# run: |
# pre-commit run --all-files
# git diff -U0 > log.txt && cat log.txt

0 comments on commit 4719d55

Please sign in to comment.