mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-08 16:53:23 +00:00
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
41 lines
843 B
YAML
41 lines
843 B
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- "*"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.7", "3.8", "3.9", "3.10", "pypy-3.8"]
|
|
|
|
steps:
|
|
- name: Install libgnutls28-dev
|
|
run: |
|
|
sudo apt update -q
|
|
sudo apt install -q -y libgnutls28-dev libcurl4-gnutls-dev
|
|
|
|
- uses: actions/checkout@v3.0.2
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install project dependencies
|
|
run: |
|
|
pip install --upgrade pip
|
|
pip install codecov tox tox-gh-actions
|
|
|
|
- name: Run tests with tox
|
|
run: tox
|
|
|
|
- name: Run coverage
|
|
run: codecov
|