2021-06-10 18:12:05 -05:00
|
|
|
on: push
|
2021-12-22 00:37:16 -06:00
|
|
|
env:
|
|
|
|
MY_SHELL: python
|
2021-06-10 18:12:05 -05:00
|
|
|
jobs:
|
|
|
|
check:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-12-22 00:37:16 -06:00
|
|
|
- shell: ${{ env.MY_SHELL }}
|
2021-06-10 18:12:05 -05:00
|
|
|
run: |
|
|
|
|
import platform
|
|
|
|
print(platform.python_version())
|
2021-11-03 13:47:47 -05:00
|
|
|
check-container:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container: node:12-buster
|
|
|
|
steps:
|
2021-12-22 00:37:16 -06:00
|
|
|
- shell: ${{ env.MY_SHELL }}
|
2021-11-03 13:47:47 -05:00
|
|
|
run: |
|
|
|
|
import platform
|
|
|
|
print(platform.python_version())
|
2021-12-22 00:37:16 -06:00
|
|
|
check-job-default:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
shell: ${{ env.MY_SHELL }}
|
|
|
|
steps:
|
|
|
|
- run: |
|
|
|
|
import platform
|
|
|
|
print(platform.python_version())
|