-
Notifications
You must be signed in to change notification settings - Fork 7
52 lines (50 loc) · 1.1 KB
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: CI Tests
on: [push]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Convert test file to png image
uses: ./
with:
quality: 100
scale: 1.0
src: test/test.drawio
dest: test.png
- name: Convert test file to jpeg image
uses: ./
with:
quality: 100
scale: 1.0
src: test/test.drawio
dest: test.jpeg
- name: Convert test file to svg image
uses: ./
with:
scale: 1.0
src: test/test.drawio
dest: test.svg
- name: Convert test file to pdf
uses: ./
with:
scale: 1.0
src: test/test.drawio
dest: test.pdf
- name: Upload images as artifacts
uses: actions/upload-artifact@v1
with:
name: png
path: test.png
- uses: actions/upload-artifact@v1
with:
name: jpeg
path: test.jpeg
- uses: actions/upload-artifact@v1
with:
name: svg
path: test.svg
- uses: actions/upload-artifact@v1
with:
name: pdf
path: test.pdf