Skip to content

WCM-536: Declare teaser/content entitlements property #90

WCM-536: Declare teaser/content entitlements property

WCM-536: Declare teaser/content entitlements property #90

Workflow file for this run

name: Testrunner
on:
push:
branches:
- "main"
pull_request:
env:
PROJECT: zappi-spec
BUILD_URL: "${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}"
jobs:
test:
runs-on: zon-ubuntu-general-dind
permissions:
contents: "read"
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
python-version: "3.12"
cache: "pipenv"
- run: pip install pipenv
- uses: actions/[email protected]
with:
node-version: "20"
cache: "npm"
cache-dependency-path: "docs/api/package-lock.json"
- run: bin/test
- uses: slackapi/[email protected]
if: failure() && github.ref_name == 'main'
with:
method: chat.postMessage
token: ${{ secrets.SLACK_BOT_TOKEN }}
payload: |
channel: ${{secrets.SLACK_TEAM_CONTENT_CHANNEL_ID}}
text: ":small_red_triangle_down: <${{env.BUILD_URL}}|${{env.PROJECT}}> tests failed"