Skip to content

Merge c4cc117fc82f61147f06cbaf6f576393120c1527 into feature/gh-ci #39

Merge c4cc117fc82f61147f06cbaf6f576393120c1527 into feature/gh-ci

Merge c4cc117fc82f61147f06cbaf6f576393120c1527 into feature/gh-ci #39

Workflow file for this run

name: Apex Tests
on:
push:
branches:
- feature/**
- master
env:
CUMULUSCI_KEYCHAIN_CLASS: cumulusci.core.keychain.EnvironmentProjectKeychain
CUMULUSCI_SERVICE_github: ${{ secrets.CUMULUSCI_SERVICE_github }}
jobs:
unit_tests:
name: "Run Apex tests"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install sfdx
run: |
mkdir sfdx
wget -qO- https://developer.salesforce.com/media/salesforce-cli/sfdx-linux-amd64.tar.xz | tar xJ -C sfdx --strip-components 1
./sfdx/install
echo ${{ secrets.SFDX_AUTH_URL }} > sfdx_auth
sfdx force:auth:sfdxurl:store -f sfdx_auth -d
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: "3.8"
- name: Install CumulusCI
run: |
python -m pip install -U pip
pip install cumulusci
- run: |
cci flow run ci_feature --org dev --delete-org