mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 09:13:23 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 1 to 2.4.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v1...v2.4.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
40 lines
834 B
YAML
40 lines
834 B
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- "*"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"]
|
|
|
|
steps:
|
|
- name: Install libgnutls28-dev
|
|
run: |
|
|
sudo apt update -q
|
|
sudo apt install -q -y libgnutls28-dev libcurl4-gnutls-dev
|
|
|
|
- uses: actions/checkout@v2.4.0
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install project dependencies
|
|
run: |
|
|
python -m pip install -U pip codecov tox tox-gh-actions
|
|
|
|
- name: Run tests with tox
|
|
run: tox
|
|
|
|
- name: Run coverage
|
|
run: codecov
|