-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (38 loc) · 1.14 KB
/
test_file_error.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
name: Diff Action Test (FILE Error)
on:
push:
workflow_dispatch:
jobs:
ubuntu:
runs-on: ubuntu-latest
continue-on-error: false # Set TRUE if you want the workflow not to fail when error
steps:
- uses: actions/checkout@v2.3.4
- run: ls
- uses: GuillaumeFalourd/diff-action@main
with:
first_file_path: file.txt
second_file_path: file_nok.txt
expected_result: PASSED
macos:
runs-on: macos-latest
continue-on-error: false # Set TRUE if you want the workflow not to fail when error
steps:
- uses: actions/checkout@v2.3.4
- run: ls
- uses: GuillaumeFalourd/diff-action@main
with:
first_file_path: file.txt
second_file_path: file_nok.txt
expected_result: PASSED
windows:
runs-on: windows-latest
continue-on-error: false # Set TRUE if you want the workflow not to fail when error
steps:
- uses: actions/checkout@v2.3.4
- run: ls
- uses: GuillaumeFalourd/diff-action@main
with:
first_file_path: file.txt
second_file_path: file_nok.txt
expected_result: PASSED