mirror of https://github.com/scrapy/scrapy.git
31 lines
664 B
YAML
31 lines
664 B
YAML
name: macOS
|
|
on: [push, pull_request]
|
|
|
|
concurrency:
|
|
group: ${{github.workflow}}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: macos-11
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-beta.1"]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- 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)
|