CR: assert on proper URLs in contact list API tests #27
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: php-suite-api Build | |
on: push | |
env: | |
PACKAGIST_TOKEN: ${{ secrets.PACKAGIST_TOKEN }} | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
jobs: | |
test: | |
name: Tests & Deploy 🚦🚢 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Setup and start container | |
run: make all | |
- name: Run tests | |
run: make test | |
- name: Release package | |
run: composer publish emartech ${PACKAGIST_TOKEN} | |
- name: Slack notification | |
uses: 8398a7/action-slack@v3 | |
with: | |
status: ${{ job.status }} | |
fields: repo,message,author,job,ref | |
job_name: Tests & Deploy 🚦🚢 | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
if: always() |