Skip to content

chore(deps): update actions to v4 #462

chore(deps): update actions to v4

chore(deps): update actions to v4 #462

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@v3
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@v4
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@v4
with:
python-version: ${{ matrix.python }}
- run: pip install -e . && pip install $(cat requirements.txt | grep pytest)
- run: make test