Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 30 additions & 29 deletions .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,37 @@ jobs:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .

- name: Test with pytest
run: |
pip install pytest
pip install pytest-cov
python -m pytest tests --junit-xml pytest.xml

- name: Lint with flake8
run: |
pip install flake8
flake8 --ignore=E741,E501 .

- name: Upload Unit Test Results
if: always()
uses: actions/upload-artifact@v4
with:
name: Unit Test Results
path: pytest.xml

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .

- name: Test with pytest
run: |
pip install pytest
pip install pytest-cov
python -m pytest tests --junit-xml pytest.xml

- name: Lint with flake8
run: |
pip install flake8
flake8 --ignore=E741,E501 .

- name: Upload Unit Test Results
if: always()
uses: actions/upload-artifact@v4
with:
name: Unit Test Results
path: pytest.xml

publish-test-results:
name: "Publish Unit Tests Results"
Expand Down
2 changes: 2 additions & 0 deletions ffpass/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ def exportLogins(key, jsonLogins):
return []
logins = []
for row in jsonLogins["logins"]:
if row.get("deleted"):
continue
encUsername = row["encryptedUsername"]
encPassword = row["encryptedPassword"]
logins.append(
Expand Down
Loading