Issue3549 adding test output to deploy task #8601
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Test | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, synchronize, reopened] # Default | |
jobs: | |
test_artifacts: | |
name: "Test Package Artifacts" | |
runs-on: SFDO-Tooling-Ubuntu | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
cache: pip | |
cache-dependency-path: "pyproject.toml" | |
- name: Install build tools | |
run: pip install hatch | |
- name: Test source tarball and binary wheel | |
run: | | |
hatch build | |
- name: Test install of wheel | |
run: | | |
pip install dist/cumulusci*.whl | |
pip show cumulusci | |
pip uninstall -y cumulusci | |
- name: Test install of sdist | |
run: | | |
pip install dist/cumulusci*.tar.gz | |
pip show cumulusci | |
pip uninstall -y cumulusci | |
- name: Store artifacts | |
if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: packages | |
path: dist | |
test_release: | |
name: "Test Release Flows" | |
uses: ./.github/workflows/release_test_sfdx.yml | |
with: | |
sfdx-release-channel: stable | |
secrets: | |
CUMULUSCI_ORG_packaging: ${{ secrets.CUMULUSCI_ORG_packaging }} | |
CUMULUSCI_SERVICE_github: ${{ secrets.CUMULUSCI_SERVICE_github }} | |
CCITEST_APP_KEY: ${{ secrets.CCITEST_APP_KEY }} | |
SFDX_CLIENT_ID: ${{ secrets.SFDX_CLIENT_ID }} | |
SFDX_HUB_KEY: ${{ secrets.SFDX_HUB_KEY }} | |
SFDX_HUB_KEY_BASE64: ${{ secrets.SFDX_HUB_KEY_BASE64 }} | |
SFDX_HUB_USERNAME: ${{ secrets.SFDX_HUB_USERNAME }} |