comparison .github/workflows/ci-test.yml @ 7729:edd93fa4a5ec

chore: update actions in gihub workflows. [skip travis] - no ci on travis.
author John Rouillard <rouilj@ieee.org>
date Sun, 28 Jan 2024 22:53:02 -0500
parents d55427443443
children b7a8d9664938
comparison
equal deleted inserted replaced
7728:a17d0abfb212 7729:edd93fa4a5ec
91 # example directives: 91 # example directives:
92 # disable step 92 # disable step
93 # if: {{ false }} 93 # if: {{ false }}
94 # continue running if step fails 94 # continue running if step fails
95 # continue-on-error: true 95 # continue-on-error: true
96 uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 96 uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
97 97
98 # Setup version of Python to use 98 # Setup version of Python to use
99 - name: Set Up Python ${{ matrix.python-version }} 99 - name: Set Up Python ${{ matrix.python-version }}
100 uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1 100 uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
101 with: 101 with:
102 python-version: ${{ matrix.python-version }} 102 python-version: ${{ matrix.python-version }}
103 allow-prereleases: true 103 allow-prereleases: true
104 cache: 'pip' 104 cache: 'pip'
105 105
258 pytest -v -r a --durations=20 test/ --cov=roundup 258 pytest -v -r a --durations=20 test/ --cov=roundup
259 fi 259 fi
260 260
261 - name: Upload coverage to Codecov 261 - name: Upload coverage to Codecov
262 # see: https://github.com/codecov/codecov-action#usage 262 # see: https://github.com/codecov/codecov-action#usage
263 uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 263 uses: codecov/codecov-action@4fe8c5f003fae66aa5ebb77cfd3e7bfbbda0b6b0 # v3.1.5
264 with: 264 with:
265 verbose: true 265 verbose: true
266 token: ${{ secrets.CODECOV_TOKEN }} 266 token: ${{ secrets.CODECOV_TOKEN }}
267 267
268 - name: Upload coverage to Coveralls 268 - name: Upload coverage to Coveralls
269 # python 2.7 and 3.6 versions of coverage can't produce lcov files. 269 # python 2.7 and 3.6 versions of coverage can't produce lcov files.
270 if: matrix.python-version != '2.7' && matrix.python-version != '3.6' 270 if: matrix.python-version != '2.7' && matrix.python-version != '3.6'
271 uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 # master 271 uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 # v2.2.3
272 with: 272 with:
273 github-token: ${{ secrets.GITHUB_TOKEN }} 273 github-token: ${{ secrets.GITHUB_TOKEN }}
274 path-to-lcov: coverage.lcov 274 path-to-lcov: coverage.lcov
275 parallel: run-{{ matrix.python-version }}-{{ matrix.os }} 275 parallel: run-{{ matrix.python-version }}-{{ matrix.os }}
276 276
302 302
303 if: "!contains(github.event.head_commit.message, 'no-github-ci')" 303 if: "!contains(github.event.head_commit.message, 'no-github-ci')"
304 304
305 steps: 305 steps:
306 - name: Coveralls Finished 306 - name: Coveralls Finished
307 uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 # master 307 uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949 # v2.2.3
308 with: 308 with:
309 github-token: ${{ secrets.github_token }} 309 github-token: ${{ secrets.github_token }}
310 parallel-finished: true 310 parallel-finished: true

Roundup Issue Tracker: http://roundup-tracker.org/