Skip to content

chore(deps): update actions #486

chore(deps): update actions

chore(deps): update actions #486

Workflow file for this run

name: CI
on:
push:
branches:
- main
- "renovate/**"
pull_request:
jobs:
test_js:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm install --no-optional --no-audit --no-fund --progress=false
- run: npm run lint
test_python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
- run: pip install -e . && pip install -r requirements.txt && pip install coveralls==3.0.1
- run: make test-coverage
- run: coveralls || true
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: make lint
- run: make benchmark
- run: cd website; python build_rules.py
test_python_compat:
needs: test_python
runs-on: ubuntu-latest
strategy:
matrix:
include:
- python: "3.6"
- python: "3.7"
- python: "3.8"
- python: "3.9"
- python: "3.10"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- run: pip install -e . && pip install $(cat requirements.txt | grep pytest)
- run: make test