chore(deps): bump google-cloud-pubsub from 2.26.1 to 2.27.1 #124
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: Tests and Builds | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
test: | |
if: github.actor != 'actions[bot]' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Setup tests | |
run: | | |
python -m pip install --upgrade pip | |
- name: Run tests & CodeCov | |
run: | | |
pip install --upgrade pip && pip install poetry | |
poetry config virtualenvs.create false && poetry install | |
coverage run -m pytest | |
coverage report | |
coverage xml | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4.0.1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ./coverage.xml |