Skip to content

Merge pull request #149 from 2gis/feat/service-account-token #21

Merge pull request #149 from 2gis/feat/service-account-token

Merge pull request #149 from 2gis/feat/service-account-token #21

Workflow file for this run

on: [push]
permissions:
contents: read
jobs:
tox:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox codecov
pip install -r requirements.txt
- name: Unit tests
run: |
tox -e py
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3
docker:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker image
uses: docker/build-push-action@v3