1010jobs :
1111 Unit-Tests :
1212 runs-on : ubuntu-20.04
13+ strategy :
14+ max-parallel : 10
15+ matrix :
16+ node-version : [ 18.x, 20.x ]
17+ language-variant : [ 'csharp-httpclient', 'csharp-restsharp', 'curl', 'dart-dio', 'dart-http', 'golang', 'http',
18+ ' java-okhttp' , 'java-unirest', 'js-fetch', 'js-jquery', 'js-xhr', 'kotlin-okhttp', 'libcurl',
19+ ' nodejs-axios' , 'nodejs-native', 'nodejs-request', 'nodejs-unirest', 'objective-c', 'ocaml-cohttp',
20+ ' php-curl' , 'php-guzzle', 'php-httprequest2', 'php-pecl-http', 'powershell-restmethod',
21+ ' python-http.client' , 'python-requests', 'r-httr', 'r-rcurl', 'ruby', 'rust-reqwest',
22+ ' shell-httpie' , 'shell-wget', 'swift' ]
1323 steps :
1424 - name : Get Code
1525 uses : actions/checkout@v3
16- - name : Setup Node JS
26+ - name : Use Node JS ${{ matrix.node-version }}
1727 uses : actions/setup-node@v1
1828 with :
19- node-version : ' 12.x'
20- - name : Install system dependencies
21- run : npm run cirequirements
29+ node-version : ${{ matrix.node-version }}
2230 - name : Install package dependencies
2331 run : npm install
32+ - name : Install system dependencies
33+ run : npm run cirequirements ${{ matrix.language-variant }}
2434 - name : Install dependencies for individual codegens
2535 run : npm run deepinstall dev
2636 - name : Run tests
27- run : npm run test
37+ run : npm run test ${{ matrix.language-variant }}
0 commit comments