File tree Expand file tree Collapse file tree 1 file changed +66
-0
lines changed Expand file tree Collapse file tree 1 file changed +66
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ # test lifecycle processing
3
+
4
+ name : Test lifecycle
5
+
6
+ on :
7
+ pull_request :
8
+ branches :
9
+ - master
10
+ types :
11
+ - labeled
12
+ workflow_dispatch :
13
+
14
+ defaults :
15
+ run :
16
+ shell : bash -l {0}
17
+
18
+ jobs :
19
+ test-lifecycle :
20
+ if : contains(github.event.pull_request.labels.*.name, 'test-ci')
21
+ runs-on : ubuntu-latest
22
+ env :
23
+ OE_LICENSE : ${{ github.workspace }}/oe_license.txt
24
+ steps :
25
+ - name : Checkout code
26
+ uses : nschloe/action-cached-lfs-checkout@v1
27
+
28
+ - name : ensure we only have one instance running
29
+ uses : softprops/turnstyle@master
30
+ env :
31
+ GITHUB_TOKEN : ${{ secrets.GH_DANGERBOT_TOKEN_LIMITED }}
32
+ with :
33
+ abort-after-seconds : 60
34
+
35
+ - name : Additional info about the build
36
+ run : |
37
+ uname -a
38
+ df -h
39
+ ulimit -a
40
+
41
+ - name : Install environment
42
+ uses : mamba-org/setup-micromamba@v1
43
+ with :
44
+ environment-file : devtools/conda-envs/queued-submit.yaml
45
+ create-args : >-
46
+ python=3.11
47
+ cache-environment : true
48
+
49
+ - name : Environment Information
50
+ run : |
51
+ conda info
52
+ conda list
53
+
54
+ - name : Make oe_license.txt file from GH org secret "OE_LICENSE"
55
+ env :
56
+ OE_LICENSE_TEXT : ${{ secrets.OE_LICENSE }}
57
+ run : |
58
+ echo "${OE_LICENSE_TEXT}" > ${OE_LICENSE}
59
+
60
+ - name : Run lifecycle processing script
61
+ env :
62
+ GH_TOKEN : ${{ secrets.QCA_DATASET_SUBMISSION_PAT }}
63
+ QCA_USER : ${{ secrets.QCA_USER }}
64
+ QCA_KEY : ${{ secrets.QCA_KEY }}
65
+ run : |
66
+ python ./management/lifecycle-v2.py --run-tests
You can’t perform that action at this time.
0 commit comments