+ tesseract install dev-cicd #14
Workflow file for this run
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: feature-cicd-tests | |
on: | |
push: | |
branches: | |
- feature/* | |
pull_request: | |
branches: | |
- feature/* | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repo | |
uses: actions/checkout@v3 | |
- name: Run pre-commit | |
uses: pre-commit/[email protected] | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
steps: | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: actions/checkout@v3 | |
- name: Test with tox | |
run: | | |
pip install tox | |
tox -- --cov datafog --cov-report xml --cov-report term | |
- name: Submit to codecov | |
uses: codecov/codecov-action@v3 | |
if: ${{ matrix.python-version == '3.10' }} | |
- name: Upload coverage reports to Codecov | |
uses: codecov/[email protected] | |
env: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: DataFog/datafog-python |