Skip to content

Commit

Permalink
Fix integration tests
Browse files Browse the repository at this point in the history
These might be a bit crufty.
  • Loading branch information
jstvz committed Nov 15, 2024
1 parent 5ff1a1d commit 9f419d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/slow_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,16 @@ jobs:
cache-dependency-path: "pyproject.toml"
- name: Install Python dependencies
run: pip install .[test]
- name: Install sfdx
- name: Install Salesforce CLI
run: |
mkdir sfdx
wget -qO- https://developer.salesforce.com/media/salesforce-cli/sfdx/channels/stable/sf-linux-x64.tar.xz | tar xJ -C sfdx --strip-components 1
wget -qO- https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-linux-x64.tar.xz | tar xJ -C sfdx --strip-components 1
echo $(realpath sfdx/bin) >> $GITHUB_PATH
- name: Initialize Browser/Playwright
run: cci robot install_playwright
- name: Authenticate Dev Hub
run: |
sfdx plugins --core
sf plugins --core
echo $SFDX_HUB_KEY_BASE64 | base64 --decode > sfdx.key
sf org login jwt --client-id $SFDX_CLIENT_ID --jwt-key-file sfdx.key --username $SFDX_HUB_USERNAME --setdefaultdevhubusername -a hub
env:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ vcr: # remake VCR cassettes and run other integration tests
cci org scratch qa pytest
cci org scratch_delete pytest
find . -name \Test*.yaml | xargs rm
pytest --org qa --run-slow-tests -rs --replace-vcrs
uv run pytest --org qa --run-slow-tests -rs --replace-vcrs

slow_tests: vcr # remake VCR cassettes and run other integration tests
cci org scratch_delete pytest
Expand Down

0 comments on commit 9f419d9

Please sign in to comment.