comment #966
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: Tyk Demo API Tests | |
on: # yamllint disable-line rule:truthy | |
- push | |
jobs: | |
Tyk-Demo-Api-Tests: | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." | |
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" | |
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | |
- name: Check Out Repository Code | |
uses: actions/checkout@v4 | |
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." | |
- name: Create Environment File | |
run: | | |
echo "DASHBOARD_LICENCE=${{ secrets.DASH_LICENSE }}" >> .env | |
echo "MDCB_LICENCE=${{ secrets.MDCB_LICENSE }}" >> .env | |
- name: Update Hosts | |
run: sudo ./scripts/update-hosts.sh | |
- name: Bootstrap and Test All Eligible Deployments | |
run: sudo ./scripts/test-all.sh | |
- name: Store Logs | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: logs | |
path: logs/ | |
- name: Show Bootstrap Log | |
if: always() | |
run: cat logs/bootstrap.log | |
- name: Show Test Log | |
if: always() | |
run: cat logs/test.log | |
- run: echo "🍏 This job's status is ${{ job.status }}." |