Skip to content

Translate functions "usage_text" #843

Translate functions "usage_text"

Translate functions "usage_text" #843

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- '**' # run on all branches
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: |
requirements_production.txt
requirements_testing.txt
.pre-commit-config.yaml
- name: Install dependencies
run: |
pip install -r requirements_testing.txt
- name: CI
run: |
tox
- name: Upload coverage artifact
uses: actions/upload-artifact@v3
with:
name: coverage-${{ matrix.python-version }}
path: .coverage
coverage:
name: Process test coverage
runs-on: ubuntu-latest
needs: ["build"]
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: |
requirements_production.txt
requirements_testing.txt
.pre-commit-config.yaml
- name: Install dependencies
run: |
pip install -r requirements_testing.txt
- name: Download all coverage artifacts
uses: actions/download-artifact@v3
- name: Create coverage report
run: |
coverage combine coverage*/.coverage*
coverage report
coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3