File tree 1 file changed +34
-0
lines changed
1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : only-run-tests-workflow
2
+ on :
3
+ push :
4
+ branches :
5
+ - dev
6
+
7
+ jobs :
8
+ run-tests :
9
+ runs-on : [ubuntu]
10
+ strategy :
11
+ matrix :
12
+ python-version : ["3.8", "3.9", "3.10"]
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - name : Set up Python ${{ matrix.python-version }}
16
+ uses : actions/setup-python@v4
17
+ with :
18
+ python-version : ${{ matrix.python-version }}
19
+ - name : Install dependencies
20
+ run : |
21
+ python -m pip install --upgrade pip
22
+ pip install -r requirements.txt
23
+ - name : Run tests
24
+ env :
25
+ HPCC_USERNAME : ${{ secrets.HPCC_USERNAME }}
26
+ HPCC_PASSWORD : ${{ secrets.HPCC_PASSWORD }}
27
+ DUMMY_USERNAME : ${{ secrets.DUMMY_USERNAME }}
28
+ DUMMY_PASSWORD : ${{ secrets.DUMMY_PASSWORD }}
29
+ HPCC_HOST : ${{ secrets.HPCC_HOST }}
30
+ HPCC_PORT : ${{ secrets.HPCC_PORT }}
31
+ DUMMY_HOST : ${{ secrets.DUMMY_HOST }}
32
+ DUMMY_PORT : ${{ secrets.DUMMY_PORT }}
33
+ run : |
34
+ python -m pytest tests
You can’t perform that action at this time.
0 commit comments