From d89b6214dd8f62f4ce947f793c93fdbe2ed98ff4 Mon Sep 17 00:00:00 2001 From: James Estevez Date: Wed, 13 Nov 2024 15:09:32 -0800 Subject: [PATCH] rm coverage --- .github/workflows/feature_test.yml | 2 +- .github/workflows/release_test.yml | 15 ++++++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/feature_test.yml b/.github/workflows/feature_test.yml index 8ab1f3bedf..9433041f85 100644 --- a/.github/workflows/feature_test.yml +++ b/.github/workflows/feature_test.yml @@ -95,7 +95,7 @@ jobs: SFDX_HUB_USERNAME: ${{ secrets.SFDX_HUB_USERNAME }} - name: Run robot tests run: | - uv run coverage run --append $(which cci) task run robot \ + uv run cci task run robot \ --org dev \ -o name "CumulusCI" \ -o suites cumulusci/robotframework/tests \ diff --git a/.github/workflows/release_test.yml b/.github/workflows/release_test.yml index e6d8b66ba9..2b988f4578 100644 --- a/.github/workflows/release_test.yml +++ b/.github/workflows/release_test.yml @@ -77,8 +77,13 @@ jobs: python-version: 3.11 cache: pip cache-dependency-path: "pyproject.toml" + - name: Set up uv + uses: SFDO-Tooling/setup-uv@main + with: + version: "0.5.0" + enable-cache: true - name: Install Python dependencies - run: pip install .[test] + run: uv sync - name: Install sfdx run: | mkdir sfdx @@ -95,17 +100,17 @@ jobs: - name: Run ci_feature flow run: | cd CumulusCI-Test - coverage run --append --rcfile=../pyproject.toml --source=../cumulusci $(which cci) flow run ci_feature --org scratch --delete-org + uv run cci flow run ci_feature --org scratch --delete-org - name: Run ci_beta flow run: | cd CumulusCI-Test - coverage run --append --rcfile=../pyproject.toml --source=../cumulusci $(which cci) flow run ci_beta --org scratch --delete-org + uv run cci flow run ci_beta --org scratch --delete-org - name: Run ci_master flow run: | cd CumulusCI-Test - coverage run --append --rcfile=../pyproject.toml --source=../cumulusci $(which cci) flow run ci_master --org scratch --delete-org + uv run cci flow run ci_master --org scratch --delete-org - name: Run release_beta flow run: | export SFDX_HUB_KEY="$(echo $SFDX_HUB_KEY_BASE64 | base64 --decode)" cd CumulusCI-Test - coverage run --append --rcfile=../pyproject.toml --source=../cumulusci $(which cci) flow run release_beta --org packaging + uv run cci flow run release_beta --org packaging