1515 runs-on : ubuntu-latest
1616 strategy :
1717 matrix :
18- haxe-version : ['3.4.7', '4.0.5', 'nightly']
18+ haxe-version : ['3.4.7', '4.0.5', '4.1.1', ' nightly']
1919 env :
2020 CC_TEST_REPORTER_ID : 1dff6f89d7179dff5db635c6b4fe64acdd5694c9ed44d7da5f12f0f7d3d163b7
2121 CODECOV_TOKEN : ${{secrets.CODECOV_TOKEN}}
2626 with :
2727 node-version : 10
2828 - name : Installing codeclimate client
29- if : matrix.haxe-version == '4.0.5 '
29+ if : matrix.haxe-version == '4.1.1 '
3030 run : |
3131 curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
3232 chmod +x ./cc-test-reporter
5757 run : npx haxe buildJS.hxml
5858 - name : Build C++ version
5959 if : matrix.haxe-version != 'nightly'
60- run : npx haxe buildCpp.hxml
60+ run : echo "y" | npx haxe buildCpp.hxml
6161 - name : Build JSON schema
6262 run : npx haxe buildSchema.hxml
6363 - name : Run neko tests
@@ -72,13 +72,13 @@ jobs:
7272 if : matrix.haxe-version != '3.4.7'
7373 run : npx haxe testJvm.hxml
7474 - name : Format and upload codeclimate coverage
75- if : success() && matrix.haxe-version == '4.0.5 '
75+ if : success() && matrix.haxe-version == '4.1.1 '
7676 run : |
7777 ( \
7878 cd src; \
7979 ../cc-test-reporter format-coverage -t lcov ../lcov.info; \
8080 ../cc-test-reporter upload-coverage; \
8181 )
8282 - name : Upload results to codecov
83- if : success() && matrix.haxe-version == '4.0.5'
83+ if : success() && ( matrix.haxe-version == '3.4.7' || matrix.haxe-version == '4.1.1')
8484 run : bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"
0 commit comments