anki/.github/workflows/checks.yml
2019-12-25 10:26:16 +10:00

32 lines
808 B
YAML

name: Checks
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 12
- name: Set up Protoc
uses: Arduino/actions/setup-protoc@master
- name: Run checks
run: |
sudo apt install portaudio19-dev
python${{ matrix.python-version }} -m venv ~/pyenv
. ~/pyenv/bin/activate
pip install -r requirements.qt
make check RUSTARGS=""