@@ -24,15 +24,13 @@ jobs:
2424 name : " Org-connected Tests"
2525 runs-on : SFDO-Tooling-Ubuntu
2626 steps :
27- - uses : actions/checkout@v2
27+ - uses : actions/checkout@v4
2828 - name : Set up Python 3.11
29- uses : actions/setup-python@v4
29+ uses : actions/setup-python@v5
3030 with :
3131 python-version : 3.11
32- cache : pip
33- cache-dependency-path : " pyproject.toml"
3432 - name : Set up uv
35- uses : SFDO-Tooling/setup-uv@main
33+ uses : SFDO-Tooling/setup-uv@v8.0.0-sfdo.1
3634 with :
3735 version : " 0.8.4"
3836 enable-cache : true
@@ -75,22 +73,25 @@ jobs:
7573 # job-name: "Pre-release"
7674 # org-shape: "prerelease"
7775 steps :
78- - uses : actions/checkout@v2
76+ - uses : actions/checkout@v4
7977 - name : Set up Python 3.11
80- uses : actions/setup-python@v4
78+ uses : actions/setup-python@v5
8179 with :
8280 python-version : 3.11
83- cache : pip
84- cache-dependency-path : " pyproject.toml"
81+ - name : Set up uv
82+ uses : SFDO-Tooling/setup-uv@v8.0.0-sfdo.1
83+ with :
84+ version : " 0.8.4"
85+ enable-cache : true
8586 - name : Install Python dependencies
86- run : pip install .
87+ run : uv sync -p 3.11
8788 - name : Install Salesforce CLI
8889 run : |
8990 mkdir sfdx
9091 wget -qO- https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-linux-x64.tar.xz | tar xJ -C sfdx --strip-components 1
9192 echo $(realpath sfdx/bin) >> $GITHUB_PATH
9293 - name : Initialize Browser/Playwright
93- run : cci robot install_playwright
94+ run : uv run cci robot install_playwright
9495 - name : Authenticate Dev Hub
9596 run : |
9697 sf plugins --core
@@ -102,15 +103,15 @@ jobs:
102103 SFDX_HUB_USERNAME : ${{ secrets.SFDX_HUB_USERNAME }}
103104 - name : Run robot tests
104105 run : |
105- cci task run robot \
106+ uv run cci task run robot \
106107 --org ${{ matrix.org-shape }} \
107108 -o suites cumulusci/robotframework/tests/salesforce \
108109 -o exclude no-browser \
109110 -o vars ${{ matrix.browser }}
110111 - name : Delete scratch org
111112 if : always()
112113 run : |
113- cci org scratch_delete ${{ matrix.org-shape }}
114+ uv run cci org scratch_delete ${{ matrix.org-shape }}
114115 - name : Store robot results
115116 if : failure()
116117 uses : actions/upload-artifact@v4
0 commit comments