Skip to content

Updated actions to v3 #61

Updated actions to v3

Updated actions to v3 #61

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: 3.x
- uses: actions/setup-node@v1
with:
node-version: 12
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: v1/${{ runner.os }}/pip/${{ hashFiles('**/{requirements,development}.txt') }}
restore-keys: v1/${{ runner.os }}/pip/
- uses: actions/cache@v3
with:
path: ~/.npm
key: v1/${{ runner.os }}/node-12/${{ hashFiles('**/package-lock.lock') }}
restore-keys: v1/${{ runner.os }}/node-12/
- name: Run tests
uses: percy/exec-action@v0.3.1
with:
custom-command: "make test"
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}