Skip to content

Commit

Permalink
test fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
loechel committed Apr 30, 2024
1 parent 174135e commit 950d60b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
RUN_ON_CI: True
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
Expand All @@ -22,4 +24,4 @@ jobs:
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions
- name: Test with tox
run: tox
run: tox
5 changes: 4 additions & 1 deletion tests/test_settings.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from edutap.wallet_google.session import GoogleWalletSettings
from pprint import pprint

import os
import pytest


Expand All @@ -20,7 +21,9 @@ def test_base_settings():
]


@pytest.mark.skip("should only be run locally")
@pytest.mark.skipif(
os.environ.get("RUN_ON_CI", False), reason="should only be run locally"
)
def test_local_settings():
settings = GoogleWalletSettings()
print("Test Settings - Dump Settings Values:")
Expand Down

0 comments on commit 950d60b

Please sign in to comment.