mirror of https://github.com/scrapy/scrapy.git
27 lines
550 B
YAML
27 lines
550 B
YAML
name: macOS
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: macos-11
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
python-version: ["3.8", "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 }}
|
|
|
|
- name: Run tests
|
|
run: |
|
|
pip install -U tox
|
|
tox -e py
|
|
|
|
- name: Upload coverage report
|
|
run: bash <(curl -s https://codecov.io/bash)
|