Skip to content

fix layout issues on certain device resolutions, avoid piwheels build… #100

fix layout issues on certain device resolutions, avoid piwheels build…

fix layout issues on certain device resolutions, avoid piwheels build… #100

Workflow file for this run

name: run tests
on:
push:
branches:
- '*'
paths:
- 'ezbeq/**'
- 'tests/**'
- '.github/workflows/test.yaml'
pull_request:
branches:
- '*'
paths:
- 'ezbeq/**'
- 'tests/**'
defaults:
run:
shell: bash
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-in-project: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root
- name: Install project
run: poetry install --no-interaction
- name: pytest
run: |
source .venv/bin/activate
pytest --cov=./ezbeq --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml