Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

Merge pull request #477 from hugovk/archived #99

Merge pull request #477 from hugovk/archived

Merge pull request #477 from hugovk/archived #99

Workflow file for this run

name: Tests
on: [push, pull_request, workflow_dispatch]
env:
FORCE_COLOR: 1
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
max-parallel: 1
matrix:
python-version: [
"2.7",
"3.7",
"3.8",
"3.9",
"3.10",
"3.11",
"pypy2.7",
]
os: [ubuntu-latest]
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: setup.py
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install -U pytest pytest-cov mock
python -m pip install -r requirements.txt
- name: Tests
shell: bash
run: |
pytest --cov twitter --cov tests --cov-report=xml
- name: Coveralls
uses: AndreMiras/coveralls-python-action@develop
with:
parallel: true
coveralls_finish:
needs: tests
runs-on: ubuntu-latest
steps:
- name: Coveralls finished
uses: AndreMiras/coveralls-python-action@develop
with:
parallel-finished: true