Compose action #296
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Scrapy-Puppeteer Library | |
on: [push, pull_request] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- python-version: "3.7.x" # Min Python version (No 3.6 version in GitHub repository) | |
- python-version: "3.8.x" | |
- python-version: "3.9.x" | |
- python-version: "3.10.x" | |
- python-version: "3.11.x" | |
- python-version: "3.12.x" | |
- python-version: "3.x" # Last Python version | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set Python version ${{ matrix.python-version }} Up | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest | |
pip install -r requirements.txt | |
- name: Run Tests | |
run: | | |
python -m pytest |