Skip to content

feat: add trace_provider arg #87

feat: add trace_provider arg

feat: add trace_provider arg #87

Workflow file for this run

name: Test Package
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7.15", "3.8.12", "3.9.12"]
steps:
- uses: actions/checkout@v3
# memcached
- uses: niden/actions-memcached@v7
# redis
- name: Start Redis
uses: supercharge/[email protected]
with:
redis-version: 5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get install libmemcached-dev
python -m pip install --upgrade pip wheel
pip install -r test-requirements.txt -U
- name: Lint with flake8
run: |
flake8 cachext --show-source --statistics
- name: Test with pytest
run: |
pytest tests --cov cachext
- name: Coveralls Parallel
uses: AndreMiras/coveralls-python-action@develop
with:
flag-name: "Integration Test - ${{ matrix.python-version }}"
parallel: true
converalls_finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: AndreMiras/coveralls-python-action@develop
with:
parallel-finished: true