File tree 1 file changed +38
-0
lines changed
1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : RAI Workflow Manager Tests
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ workflow_dispatch :
9
+
10
+ jobs :
11
+ Run-Fraud-Tests :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - run : echo "The job was automatically triggered by a ${{ github.event_name }} event."
15
+ - run : echo "This job is now running on a ${{ runner.os }} server hosted by GitHub!"
16
+ - run : echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
17
+
18
+ # Install Python
19
+ - run : echo "Installing Python"
20
+ - uses : actions/setup-python@v4
21
+ with :
22
+ python-version : ' 3.9'
23
+
24
+ # Checkout code repo
25
+ - name : Check out repository code
26
+ uses : actions/checkout@v3
27
+ - run : echo "The ${{ github.repository }} repository has been cloned to the runner."
28
+
29
+ - name : Install Python dependencies
30
+ run : |
31
+ pip install -r $GITHUB_WORKSPACE/requirements.txt
32
+ pip install $GITHUB_WORKSPACE
33
+
34
+ # Run Workflow tests
35
+ - name : Python Workflow Manager tests
36
+ run : |
37
+ cd $GITHUB_WORKSPACE/test
38
+ python -m unittest discover
You can’t perform that action at this time.
0 commit comments