Skip to content

ci: Test queries in natural language #105

ci: Test queries in natural language

ci: Test queries in natural language #105

Workflow file for this run

name: build
on:
push:
branches:
- master
- develop
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/test.txt
pip install -e .
- name: Lint with Flake8
run: flake8 .
- name: Test with Pytest
run: pytest --cov=readingbricks --cov-config .coveragerc
- name: Create and upload Codecov report
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
fail_ci_if_error: true