File tree Expand file tree Collapse file tree 2 files changed +35
-28
lines changed Expand file tree Collapse file tree 2 files changed +35
-28
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ on: [pull_request]
55jobs :
66  codecov :
77    container : 
8-       image : swift:5.2-bionic  
8+       image : swift:5.2 
99    runs-on : ubuntu-latest 
1010    steps :
11-     - uses : actions/checkout@v1  
11+     - uses : actions/checkout@v2  
1212    - run : swift test --enable-test-discovery --enable-code-coverage 
1313    - 
uses : 
mattpolzin/[email protected]  1414      with :
Original file line number Diff line number Diff line change 11name : Tests 
22
3- on : [pull_request] 
3+ on : 
4+   pull_request :
5+   push :
6+     branches :
7+       - master 
48
59jobs :
6-   xenial_5_1 :
7-     container : 
8-       image : swift:5.1-xenial 
10+   linux :
911    runs-on : ubuntu-latest 
12+     strategy :
13+       fail-fast : false 
14+       matrix :
15+         image :
16+           - swift:5.1-xenial 
17+           - swift:5.1-bionic 
18+           - swift:5.2-xenial 
19+           - swift:5.2-bionic 
20+           - swiftlang/swift:nightly-master-focal 
21+           - swiftlang/swift:nightly-master-centos8 
22+           - swiftlang/swift:nightly-master-amazonlinux2 
23+     container : ${{ matrix.image }} 
1024    steps :
11-     - uses : actions/checkout@v1 
12-     - run : swift test --enable-test-discovery 
13-   bionic_5_1 :
14-     container : 
15-       image : swift:5.1-bionic 
16-     runs-on : ubuntu-latest 
17-     steps :
18-     - uses : actions/checkout@v1 
19-     - run : swift test --enable-test-discovery 
20-   xenial_5_2 :
21-     container : 
22-       image : swift:5.2-xenial 
23-     runs-on : ubuntu-latest 
24-     steps :
25-     - uses : actions/checkout@v1 
26-     - run : swift test --enable-test-discovery 
27-   bionic_5_2 :
28-     container : 
29-       image : swift:5.2-bionic 
30-     runs-on : ubuntu-latest 
25+     - name : Install dependencies if needed 
26+       run : ${{ matrix.depscmd }} 
27+     - name : Checkout code 
28+       uses : actions/checkout@v2 
29+     - name : Run tests 
30+       run : swift test --enable-test-discovery 
31+   osx :
32+     runs-on : macOS-latest 
3133    steps :
32-     - uses : actions/checkout@v1 
33-     - run : swift test --enable-test-discovery 
34+       - name : Select latest available Xcode 
35+         uses : 
maxim-lobanov/[email protected]   36+         with : { 'xcode-version': 'latest' } 
37+       - name : Checkout code 
38+         uses : actions/checkout@v2 
39+       - name : Run tests 
40+         run : swift test --enable-test-discovery 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments