diff options
| author | Bobby <[email protected]> | 2022-08-30 21:24:42 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-08-30 21:24:42 -0400 |
| commit | 96dea8ac5d271653a8e295ba259677ddbde94ba6 (patch) | |
| tree | dec99db48e227578cbcc0c4803e6739d6357814f /.github | |
| parent | 033ef02238c41b2276a49f8a687f9b6b0f2621c5 (diff) | |
| download | edify-96dea8ac5d271653a8e295ba259677ddbde94ba6.tar.xz edify-96dea8ac5d271653a8e295ba259677ddbde94ba6.zip | |
Added Coverage CI
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/coverage.yml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml new file mode 100644 index 0000000..8e0d213 --- /dev/null +++ b/.github/workflows/coverage.yml @@ -0,0 +1,43 @@ +name: Upload Coverage Reports +on: [push, pull_request] +jobs: + build: + name: ${{ matrix.name }} + runs-on: ${{ matrix.os }} + timeout-minutes: 30 + strategy: + fail-fast: false + matrix: + include: + - name: 'build' + python: '3.10' + toxpython: 'python3.10' + python_arch: 'x64' + tox_env: 'py310' + os: 'ubuntu-latest' + - name: 'codecov' + python: '3.10' + toxpython: 'python3.10' + python_arch: 'x64' + tox_env: 'codecov' + os: 'ubuntu-latest' + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python }} + architecture: ${{ matrix.python_arch }} + - name: install dependencies + run: | + python -mpip install --progress-bar=off -r ci/requirements.txt + virtualenv --version + pip --version + tox --version + pip list --format=freeze + - name: test + env: + TOXPYTHON: '${{ matrix.toxpython }}' + run: > + tox -e ${{ matrix.tox_env }} -v |
