Skip to content

Pre-Alpha Test-Release #16

Pre-Alpha Test-Release

Pre-Alpha Test-Release #16

Workflow file for this run

name: CDP-Patches CI
on:
- push
- pull_request
jobs:
Linting:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-test.txt
- name: (Linting) isort
run: isort . --check-only
- name: (Linting) Flake8
run: flake8 .
- name: (Linting) MyPy
run: mypy .
- name: (Linting) Black
run: black . --check
Build Linux:

Check failure on line 29 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CDP-Patches CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 29, Col: 3): The identifier 'Build Linux' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters. .github/workflows/ci.yml (Line: 57, Col: 3): The identifier 'Build Windows' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-test.txt
pip install -e .
python -c "import os; os.environ['TOKENIZERS_PARALLELISM'] = 'false'"
- name: Install Chrome Browser
uses: browser-actions/setup-chrome@v1
- name: Install Chromium Driver
run: python -m playwright install chromium
- name: Test with PyTest
uses: maufrontier/puppeteer-headful@v3
with:
commands: pytest
Build Windows:
strategy:
matrix:
os: [ windows-latest ]
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-test.txt
pip install -e .
python -c "import os; os.environ['TOKENIZERS_PARALLELISM'] = 'false'"
- name: Install Chrome Browser
uses: browser-actions/setup-chrome@v1
- name: Install Chromium Driver
run: python -m playwright install chromium
- name: Test with PyTest
run: pytest