Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feature-demo' into feature-demo
Browse files Browse the repository at this point in the history
  • Loading branch information
SykTigera committed Jan 3, 2024
2 parents 33ca3c7 + 0e0b849 commit 197a5d7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,16 @@ jobs:
docker pull ghcr.io/simplytest/banking-backend:latest
docker run -d -p 5005:5005 -e "SIMPLYTEST_DEMO=ON" --rm --name=Banking-Backend-Demo ghcr.io/simplytest/banking-backend:latest
- name: 🧨 Detect Breaking Changes
id: changes
uses: simbo/changes-between-tags-action@v1
with:
tag-pattern: "^[a-zA-Z()]+!:"

- name: 🧯 Forward Breaking Changes
if: contains(steps.changes.outputs.changes, '!')
uses: benc-uk/workflow-dispatch@v1
with:
workflow: cd.yml
repo: simplytest/banking-frontend
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,18 @@ jobs:
if: github.ref == 'refs/heads/master'
env:
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
SONAR_HOST_URL: ${{ vars.SONARQUBE_HOST }}
run: |
mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=Demo-App-backend -Dsonar.projectName='Demo App backend'
- name: 🤖 Sonar Summary
if: github.ref == 'refs/heads/master'
run: |
{
echo "### 🤖 Sonar Summary"
echo "${{ vars.SONARQUBE_HOST }}"
} >> $GITHUB_STEP_SUMMARY
- name: 🧪 Unit Tests
run: |
mvn test -Dtest="CucumberUnitTest" -Dsurefire.failIfNoSpecifiedTests=false
Expand Down

0 comments on commit 197a5d7

Please sign in to comment.