diff options
Diffstat (limited to 'pkg/runner/testdata/shells/python')
-rw-r--r-- | pkg/runner/testdata/shells/python/push.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkg/runner/testdata/shells/python/push.yml b/pkg/runner/testdata/shells/python/push.yml new file mode 100644 index 0000000..6480e6f --- /dev/null +++ b/pkg/runner/testdata/shells/python/push.yml @@ -0,0 +1,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()) |