Skip to content

Commit

Permalink
. t showing env
Browse files Browse the repository at this point in the history
  • Loading branch information
isidore committed Nov 11, 2023
1 parent 684801b commit bb55566
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
fail-fast: true
matrix:
python-version: [3.9]
os: [macos-latest, ubuntu-latest, windows-latest]
Expand All @@ -20,6 +20,8 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: env
run: set
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 2 additions & 0 deletions tests/test_samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
# brew install python-tk

def is_running_on_github_actions():
for key, value in os.environ.items():
print(f'{key}: {value}')
github = os.getenv('CI')
print(f'github: {github}')
return github == 'true'
Expand Down

0 comments on commit bb55566

Please sign in to comment.