workflows: adjust tests

This commit is contained in:
Dawid Dziurla 2021-04-25 16:20:37 +02:00
parent 63f6c7e5d2
commit 75773ecb8c
No known key found for this signature in database
GPG Key ID: 7B6D8368172E9B0B

View File

@ -13,10 +13,12 @@ jobs:
max-parallel: 1 max-parallel: 1
matrix: matrix:
include: include:
- content_type: text/markdown - subject: Plain body (attachment)
attachments: action.yml attachments: action.yml
body: file://README.md body: |
- content_type: text/html first line
second line
- subject: HTML body (attachments)
attachments: package.json,package-lock.json attachments: package.json,package-lock.json
body: | body: |
<!DOCTYPE html> <!DOCTYPE html>
@ -26,16 +28,16 @@ jobs:
<p>Paragraph</p> <p>Paragraph</p>
</body> </body>
</html> </html>
- content_type: text/html - subject: Plain body (Markdown)
convert_markdown: true convert_markdown: true
body: | body: file://README.md
# h1 - subject: HTML body (Markdown)
## h2 convert_markdown: true
### h3 html_body: file://README.md
**bold** - subject: Multipart body (Markdown)
_italics_ convert_markdown: true
- bullet 1 body: file://README.md
- bullet 2 html_body: file://README.md
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -46,10 +48,9 @@ jobs:
server_port: 465 server_port: 465
username: ${{secrets.USERNAME}} username: ${{secrets.USERNAME}}
password: ${{secrets.PASSWORD}} password: ${{secrets.PASSWORD}}
subject: ${{github.repository}} subject: ${{matrix.subject}}
body: ${{matrix.body}} body: ${{matrix.body}}
to: ${{github.event.pusher.email}} to: ${{github.event.pusher.email}}
from: github-actions from: github-actions
content_type: ${{matrix.content_type}}
convert_markdown: ${{matrix.convert_markdown}}
attachments: ${{matrix.attachments}} attachments: ${{matrix.attachments}}
convert_markdown: ${{matrix.convert_markdown}}