forked from dapr/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (37 loc) · 1.06 KB
/
dapr-e2e-tests-crawler.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
# ------------------------------------------------------------
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------------------------------
name: dapr-e2e-tests-crawler
on:
schedule:
- cron: '0 0 */3 * *' # At midnight UTC, every 3 days
push:
branches:
- master
jobs:
run:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install dependencies
run: pip install -r test-crawler/requirements.pip
- name: Run Script
run: python3 test-crawler/__init__.py
- name: Compress logs
if: always()
run: |
tar -cvf test-crawler/result.tar tests.txt components.txt
- name: Upload results
if: always()
uses: actions/upload-artifact@master
with:
name: "result"
path: "test-crawler/result.tar"