bumping codebuild to :7.0 #2030
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CodeCov | |
on: [push, pull_request] | |
jobs: | |
ci: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [3.9] | |
poetry-version: [1.4.2] | |
os: [ubuntu-20.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Run image | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: ${{ matrix.poetry-version }} | |
# https://github.com/python-poetry/poetry/issues/4511 | |
- name: setuptools | |
run: poetry run pip install 'setuptools==65.5.1' | |
- name: Install | |
run: make install | |
- name: run tests | |
run: make unit-tests | |
- name: Upload Coverage to Codecov | |
uses: codecov/codecov-action@v1 | |