File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Copilot Setup Steps
2
+
3
+ on : workflow_dispatch
4
+
5
+ env :
6
+ COPILOT_AGENT_FIREWALL_ALLOW_LIST : https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/
7
+
8
+ jobs :
9
+ copilot-setup-steps :
10
+ runs-on : ubuntu-latest
11
+
12
+ permissions :
13
+ contents : read
14
+
15
+ steps :
16
+ - name : Checkout code
17
+ uses : actions/checkout@v4
18
+
19
+ - name : Setup Python
20
+ uses : actions/setup-python@v4
21
+ with :
22
+ python-version : ' 3.9'
23
+ cache : ' pip'
24
+
25
+ - name : Create and activate virtual environment
26
+ run : |
27
+ python -m venv .venv
28
+ source .venv/bin/activate
29
+ echo "VIRTUAL_ENV=$(pwd)/.venv" >> $GITHUB_ENV
30
+ echo "$(pwd)/.venv/bin" >> $GITHUB_PATH
31
+
32
+ - name : Install Dependencies
33
+ run : |
34
+ python -m pip install --upgrade pip
35
+ python -m pip install -r eng/ci_tools.txt
You can’t perform that action at this time.
0 commit comments