66 - master
77 pull_request :
88
9+ concurrency :
10+ # Skip intermediate builds: always.
11+ # Cancel intermediate builds: only if it is a pull request build.
12+ group : ${{ github.workflow }}-${{ github.ref }}
13+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
14+
915jobs :
1016 test :
1117 name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
@@ -22,20 +28,13 @@ jobs:
2228 - windows-latest
2329 arch :
2430 - x64
25- include :
26- - version : ' 1'
27- os : ubuntu-latest
28- arch : x64
29- coverage : true
3031 steps :
3132 - uses : actions/checkout@v2
3233 - name : Install python
3334 uses : actions/setup-python@v2
3435 with :
3536 python-version : ' 3.9'
3637 architecture : ${{ matrix.arch }}
37- # Limitation of pip: https://pythonot.github.io/index.html#pip-installation
38- - run : python -m pip install cython numpy
3938 - run : python -m pip install pot
4039 - uses : julia-actions/setup-julia@v1
4140 with :
@@ -54,18 +53,18 @@ jobs:
5453 - uses : julia-actions/julia-buildpkg@latest
5554 - uses : julia-actions/julia-runtest@latest
5655 with :
57- coverage : ${{ matrix.coverage || false }}
56+ coverage : ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' }}
5857 env :
5958 PYTHON : python
6059 GROUP : OptimalTransport
6160 - uses : julia-actions/julia-processcoverage@v1
62- if : matrix.coverage
63- - uses : codecov/codecov-action@v1
64- if : matrix.coverage
61+ if : matrix.version == '1' && matrix.os == 'ubuntu-latest'
62+ - uses : codecov/codecov-action@v2
63+ if : matrix.version == '1' && matrix.os == 'ubuntu-latest'
6564 with :
6665 file : lcov.info
6766 - uses : coverallsapp/github-action@master
68- if : matrix.coverage
67+ if : matrix.version == '1' && matrix.os == 'ubuntu-latest'
6968 with :
7069 github-token : ${{ secrets.GITHUB_TOKEN }}
7170 path-to-lcov : lcov.info
0 commit comments