Skip to content

Improved reporting of problems when: #258

Improved reporting of problems when:

Improved reporting of problems when: #258

name: Test Build on Push
on: [push]
jobs:
test-no-namespace:
name: Checkout and validate build configurations on a non-namespaced org
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: sfdx-actions/setup-sfdx@v1
with:
sfdx-auth-url: ${{ secrets.SF_AUTH_SECRET }}
# Execute a build of the full installation of the Amoss base classes, tests and example code.
- name: Deploy and Test Full Build
run: sfdx force:source:deploy -l RunLocalTests --checkonly --wait 30 -p force-app
# Execute a build of the proper installation of the Amoss base classes and tests. Do not install the example code.
- name: Deploy and Test Full Build with no example classes
run: sfdx force:source:deploy -l RunLocalTests --checkonly --wait 30 -p "force-app/amoss_main,force-app/amoss_tests"
# Execute a build of the smallest possible installation of Amoss. Only the base classes. No tests or example code.
- name: Deploy and Test Minimal Build
run: sfdx force:source:deploy -l RunLocalTests --checkonly --wait 30 -p force-app/amoss_main
test-with-namespace:
name: Checkout and validate build configurations on a namespaced org
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: sfdx-actions/setup-sfdx@v1
with:
sfdx-auth-url: ${{ secrets.SF_NAMESPACED_AUTH_SECRET }}
# Execute a build of the full installation of the Amoss base classes, tests and example code.
- name: Deploy and Test Full Build
run: sfdx force:source:deploy -l RunLocalTests --checkonly --wait 30 -p force-app
# Execute a build of the proper installation of the Amoss base classes and tests. Do not install the example code.
- name: Deploy and Test Full Build with no example classes
run: sfdx force:source:deploy -l RunLocalTests --checkonly --wait 30 -p "force-app/amoss_main,force-app/amoss_tests"
# Execute a build of the smallest possible installation of Amoss. Only the base classes. No tests or example code.
- name: Deploy and Test Minimal Build
run: sfdx force:source:deploy -l RunLocalTests --checkonly --wait 30 -p force-app/amoss_main