Skip to content

Commit 07ccb8d

Browse files
Update python-app.yml
1 parent 0d50116 commit 07ccb8d

File tree

1 file changed

+38
-15
lines changed

1 file changed

+38
-15
lines changed

.github/workflows/python-app.yml

+38-15
Original file line numberDiff line numberDiff line change
@@ -18,26 +18,49 @@ permissions:
1818
contents: read
1919

2020
jobs:
21-
deploy:
21+
test:
22+
runs-on: macos-latest
23+
steps:
24+
- uses: actions/checkout@v2
25+
- uses: actions/setup-python@v2
26+
with:
27+
python-version: 3.7
28+
- run: |
29+
echo $PATH
30+
python --version
31+
which python
32+
- run: |
33+
echo $PATH
34+
python --version
35+
which python
36+
shell: bash {0}
37+
- run: |
38+
echo $PATH
39+
python --version
40+
which python
41+
shell: bash -l {0}
2242
23-
runs-on: ubuntu-latest
43+
44+
# deploy:
2445

25-
steps:
26-
- uses: actions/checkout@v3
27-
- name: Set up Python
28-
uses: actions/setup-python@v5
29-
with:
30-
python-version: "3.10"
46+
# runs-on: ubuntu-latest
3147

32-
- name: Modify PATH
33-
run: echo "/opt/hostedtoolcache/Python/3.9.18/x64/bin" >> $GITHUB_PATH
48+
# steps:
49+
# - uses: actions/checkout@v3
50+
# - name: Set up Python
51+
# uses: actions/setup-python@v5
52+
# with:
53+
# python-version: "3.10"
3454

55+
# - name: Modify PATH
56+
# run: echo "/opt/hostedtoolcache/Python/3.9.18/x64/bin" >> $GITHUB_PATH
3557

36-
- name: Check Python version
37-
run: |
38-
echo "Python path: $PATH"
39-
/opt/hostedtoolcache/Python/3.9.18/x64/python --version
40-
python --version
58+
59+
# - name: Check Python version
60+
# run: |
61+
# echo "Python path: $PATH"
62+
# /opt/hostedtoolcache/Python/3.9.18/x64/python --version
63+
# python --version
4164

4265

4366

0 commit comments

Comments
 (0)