Skip to content

release version v2.2024.12.16.0 #38

release version v2.2024.12.16.0

release version v2.2024.12.16.0 #38

Workflow file for this run

name: Run tado API tests with Maven
on:
push:
branches: [ "main" ]
tags: [ 'v*' ]
pull_request:
branches: [ "main" ]
schedule:
# run every Monday at 10.00 UTC
- cron: "0 10 * * 1"
jobs:
api-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Run API test-suite
env:
TADO_USERNAME: ${{ secrets.TADO_USERNAME }}
TADO_PASSWORD: ${{ secrets.TADO_PASSWORD }}
run: mvn --batch-mode --update-snapshots clean verify site -P local-api-spec --file pom.xml
- name: Send mail
uses: dawidd6/action-send-mail@v3
with:
# Required mail server address if not connection_url
server_address: smtp.gmail.com
# Server port, default 25:
server_port: 465
# Optional (recommended) mail server username:
username: ${{secrets.MAIL_USERNAME}}
# Optional (recommended) mail server password:
password: ${{secrets.MAIL_APP_PASSWORD}}
# Required mail subject:
subject: (GitHub) ${{github.repository}} API test job has ${{job.status}}
# Required recipients' addresses:
to: [email protected]
# Required sender full name (address can be skipped):
from: GitHub workflow
# Optional plain body:
body: ${{ github.job }} job in workflow ${{ github.workflow }} of repo ${{ github.repository }} has ${{ job.status }}
# Optional attachments:
attachments: ./target/site/failsafe-report.html
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
#- name: Update dependency graph
# uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6