-
-
Notifications
You must be signed in to change notification settings - Fork 12
37 lines (35 loc) · 1.14 KB
/
main.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
name: Main testing workflow
on: [pull_request]
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v3
- name: Test GitHub Action
uses: ./
with:
git_path: https://github.com/urlstechie/urlchecker-test-repo
subfolder: test_action
file_types: .md,.py,.rst
timeout: 5
retry_count: 3
exclude_urls: https://github.com/SuperKogito/URLs-checker/issues/1,https://github.com/SuperKogito/URLs-checker/issues/2
exclude_patterns: https://github.com/SuperKogito/Voice-based-gender-recognition/issues
exclude_files: README.md,/github/workspace/_config.yml
- name: Test UrlChecker Action with Save
uses: ./
with:
git_path: https://github.com/urlstechie/urlchecker-test-repo
subfolder: test_action
file_types: .md
force_pass: true
save: results.csv
- name: Check that results exist
run: cat results.csv
- name: Upload check results
if: success()
uses: actions/upload-artifact@v3
with:
name: urlchecker-results
path: results.csv