anki/.github/workflows/checks.yml
2019-12-24 19:57:54 +10:00

30 lines
730 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: 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=""