Skip to content

Commit a3b5d2f

Browse files
committed
Update workflows
1 parent dac26bb commit a3b5d2f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/python-package.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
uses: actions/setup-python@v1
2222
with:
2323
python-version: ${{ matrix.python-version }}
24+
- name: Print the platform name
25+
run: |
26+
echo "import sys; print(sys.platform)" > print_platform.py
27+
python print_platform.py
2428
- name: Install dependencies
2529
run: |
2630
python -m pip install --upgrade pip

azure-pipelines.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ jobs:
2929
versionSpec: '$(python.version)'
3030
architecture: 'x64'
3131

32+
- script: |
33+
echo "import sys; print(sys.platform)" > print_platform.py
34+
python print_platform.py
35+
displayName: 'Print the platform name'
36+
3237
- script: python -m pip install --upgrade pip && pip --version
3338
displayName: 'Install/upgrade pip'
3439

0 commit comments

Comments
 (0)