Skip to content

Commit

Permalink
Dump platform information to log
Browse files Browse the repository at this point in the history
  • Loading branch information
pronovic committed Sep 2, 2022
1 parent eb2e941 commit ab6091f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
# temporarily just run a single os/python pair
os: [ubuntu-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
python: ["3.10" ]
#os: [ubuntu-latest, macos-latest, windows-latest]
#python: ["3.7", "3.8", "3.9", "3.10" ]
Expand All @@ -31,6 +30,10 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Platform information
run: |
python -c "import sys;print('Python %s' % sys.version)"
python -c "import platform;print('Platform\n%s' % '\n'.join([ ' %s: %s' % i for i in zip(['system','node','release','version','machine','processor'], platform.uname()) if i[1] ]))"
- name: Install Poetry
uses: snok/install-poetry@v1.2.1 # see https://github.com/snok/install-poetry
with:
Expand Down

0 comments on commit ab6091f

Please sign in to comment.