Skip to content

Commit

Permalink
Merge pull request #5 from nhjschulz/Development
Browse files Browse the repository at this point in the history
Release Development branch as Beta 0.2.0
  • Loading branch information
nhjschulz authored Jan 3, 2023
2 parents 143e6b2 + 5b5923e commit dbc8415
Show file tree
Hide file tree
Showing 51 changed files with 2,928 additions and 120 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,18 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pylint
pip install flake8 pytest pylint pytest-cov
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
- name: Lint with pylint
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --max-line-length=127 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
pylint --verbose src/flashcontainer
- name: Test with pytest
run: |
pytest
pytest --verbose
- name: Create Coverage report
run: |
pytest --cov=src tests/ --cov-report html
- uses: actions/upload-artifact@v3
with:
name: coverage-report
path: htmlcov/
Loading

0 comments on commit dbc8415

Please sign in to comment.