summaryrefslogtreecommitdiffstats
path: root/pkg/runner/testdata/shells/python/push.yml
blob: 6480e6f0e2fc8d3109c3ef9d65670276430900c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
on: push
env:
  MY_SHELL: python
jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - shell: ${{ env.MY_SHELL }}
        run: |
          import platform
          print(platform.python_version())
  check-container:
    runs-on: ubuntu-latest
    container: node:16-buster
    steps:
      - shell: ${{ env.MY_SHELL }}
        run: |
          import platform
          print(platform.python_version())
  check-job-default:
    runs-on: ubuntu-latest
    defaults:
      run:
        shell: ${{ env.MY_SHELL }}
    steps:
      - run: |
          import platform
          print(platform.python_version())