File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,26 +84,41 @@ name: repro-setup-python-root-warning
8484on :
8585 push :
8686
87+ # jobs:
88+ # repro:
89+ # runs-on: ubuntu-latest
90+ # container:
91+ # image: ubuntu:24.04
92+ # options: --user root
93+ # steps:
94+ # - name: Install prerequisites
95+ # run: |
96+ # apt-get update
97+ # apt-get install -y curl ca-certificates git
98+
99+ # - name: Check user
100+ # run: |
101+ # whoami
102+ # id -u
103+
104+ # - name: Set up Python
105+ # # uses: actions/setup-python@v6
106+ # # uses: lmvysakh/setup-python@rootuser_warning_fix
107+ # uses: priyagupta108/setup-python@pip-root-user-warning
108+ # with:
109+ # python-version: '3.13.7'
110+
111+ # - name: Show pip version
112+ # run: python -m pip --version
87113jobs :
88114 repro :
89- runs-on : ubuntu-latest
90- container :
91- image : ubuntu:24.04
92- options : --user root
115+ runs-on : ${{ matrix.os }}
116+ strategy :
117+ matrix :
118+ os : [ubuntu-latest, windows-latest, macos-latest]
93119 steps :
94- - name : Install prerequisites
95- run : |
96- apt-get update
97- apt-get install -y curl ca-certificates git
98-
99- - name : Check user
100- run : |
101- whoami
102- id -u
103-
120+ - uses : actions/checkout@v4
104121 - name : Set up Python
105- # uses: actions/setup-python@v6
106- # uses: lmvysakh/setup-python@rootuser_warning_fix
107122 uses : priyagupta108/setup-python@pip-root-user-warning
108123 with :
109124 python-version : ' 3.13.7'
You can’t perform that action at this time.
0 commit comments