Add cumulusci.yml, cumulusci.json, and cumulusci.jsonschema.json to release artifacts #10
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 Python | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
test_artifacts: | |
name: "Test Package Artifacts 📦" | |
runs-on: ${{ github.repository_owner == 'SFDO-Tooling' && 'SFDO-Tooling-Ubuntu' || 'ubuntu-latest' }} | |
steps: | |
- name: "Checkout Repository 📂" | |
uses: actions/checkout@v3 | |
- name: "Set up Python 3.8 🐍" | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
cache: pip | |
cache-dependency-path: "requirements/*.txt" | |
- 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 |