Skip to content

🔖 Version 4.21.0 #1288

🔖 Version 4.21.0

🔖 Version 4.21.0 #1288

Workflow file for this run

name: Linux Wake tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
node-version: [16.x]
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[tests,dev,fuzzer]"
- name: Test with pytest
run: |
pytest tests
- name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install Node dependencies
run: |
npm i -g pyright
- name: Run pyright
run: |
pyright wake || EXIT_CODE=$?
if [ "${EXIT_CODE:-0}" -eq 1 ]; then
echo "Pyright found type errors (exit code 1), treating as success"
exit 0
elif [ "${EXIT_CODE:-0}" -ne 0 ]; then
echo "Pyright failed with exit code ${EXIT_CODE}"
exit ${EXIT_CODE}
fi