Skip to content

Merge pull request #41 from GSA/dependabot/pip/certifi-2024.7.4 #64

Merge pull request #41 from GSA/dependabot/pip/certifi-2024.7.4

Merge pull request #41 from GSA/dependabot/pip/certifi-2024.7.4 #64

Workflow file for this run

---
name: commit
on:
push:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with: { python-version: 3.8 }
- name: Install pip and pipenv
run: |
python -m pip install --upgrade pip
pip install pipenv
- name: build
run: pipenv install --dev
- name: lint stats
run: pipenv run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- name: lint
run: pipenv run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --ignore=C901
test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with: { python-version: 3.8 }
- name: Install pip and pipenv
run: |
python -m pip install --upgrade pip
pip install pipenv
- name: build
run: pipenv install --dev
- name: test
run: pipenv run python setup.py test