Skip to content

chore(version): prepares for next version 0.15.2-dev. #517

chore(version): prepares for next version 0.15.2-dev.

chore(version): prepares for next version 0.15.2-dev. #517

Workflow file for this run

name: Branch
on:
push:
branches: [main]
paths-ignore:
- "**/*.md"
- "docs/*.html"
- "LICENSE"
pull_request:
branches: [main]
paths-ignore:
- "**/*.md"
- "docs/*.html"
- "LICENSE"
workflow_dispatch:
jobs:
build-and-test:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ["3.7", "3.8.9", "3.9", "3.10"]
steps:
- name: Run apt-get update
run: sudo apt-get update
- name: Install Make
run: sudo apt-get install make
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install -r requirements.txt -r dev-requirements.txt
- name: Lint files
run: make lint
- name: Install protobuf compiler
run: |
sudo apt-get install -y protobuf-compiler
protoc --version
pip uninstall --yes protobuf python3-protobuf
pip install --upgrade --no-input pip
pip install --upgrade --no-input protobuf==3.19.6
- name: Run unit tests
run: |
make unit-test
- name: Upload Coverage
if: ${{matrix.python-version}} == "3.9"
uses: codecov/codecov-action@v2
with:
files: ./coverage.xml
- name: Run integration tests
run: |
make integration-test
- name: Build package
run: make build