1
1
# This is a basic workflow to help you get started with Actions
2
2
3
- name : Python Runtimes Build and Test
3
+ name : Test Pull request
4
4
5
5
# Controls when the workflow will run
6
6
on :
@@ -16,27 +16,48 @@ jobs:
16
16
17
17
Test :
18
18
19
- runs-on : ubuntu-latest
19
+ runs-on : ubuntu-20.04
20
20
21
21
steps :
22
- - name : Check out the repo
23
- uses : actions/checkout@v2
24
-
25
- - name : update ca certificates
26
- run : sudo update-ca-certificates --fresh
27
-
28
- - name : Setup
29
- run : ./tools/travis/setup.sh
22
+ # Checkout just this repo
23
+ - name : Checkout runtime repo
24
+ uses : actions/checkout@v3
30
25
31
- - name : Fix Old ansible
32
- run : python -m pip install --user ansible==2.8.18
33
-
34
- - name : Build
35
- run : ./tools/travis/build.sh
36
-
37
- - name : Deploy
38
- run : ./tools/travis/deploy.sh
39
-
40
- - name : Test
41
- run : ./tools/travis/test.sh
42
-
26
+ # Setup Python to run the Scala Tests
27
+ - name : Setup Python
28
+ uses : actions/setup-python@v4
29
+ with :
30
+ python-version : ' 3.10'
31
+
32
+ # Setup Java to run the Scala Tests
33
+ - name : Setup Java
34
+ uses : actions/setup-java@v3
35
+ with :
36
+ distribution : ' temurin'
37
+ java-version : ' 11'
38
+
39
+ - name : befor install -> install python3-pip
40
+ run : sudo apt-get install -y python3-pip
41
+
42
+ - name : befor install -> upgrade pip setuptools six
43
+ run : |
44
+ pip install --user --upgrade pip setuptools six
45
+ pip3 install --user --upgrade pip setuptools six
46
+
47
+
48
+ - name : befor install -> setup.sh
49
+ run : |
50
+ ./tools/travis/setup.sh
51
+
52
+ - name : script -> build
53
+ run : |
54
+ ./tools/travis/build.sh
55
+
56
+ - name : script -> deploy
57
+ run : |
58
+ pip install --user jinja2==3.0.3
59
+ ./tools/travis/deploy.sh
60
+
61
+ - name : script-> test
62
+ run : |
63
+ ./tools/travis/test.sh
0 commit comments