anki/.github/workflows/checks.yml

32 lines
808 B
YAML
Raw Normal View History

name: Checks
2019-12-22 09:39:14 +01:00
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
2019-12-25 01:26:16 +01:00
- name: Set up Protoc
uses: Arduino/actions/setup-protoc@master
2019-12-22 10:53:05 +01:00
- name: Run checks
run: |
sudo apt install portaudio19-dev
2019-12-22 10:53:05 +01:00
python${{ matrix.python-version }} -m venv ~/pyenv
. ~/pyenv/bin/activate
pip install -r requirements.qt
2019-12-22 11:02:22 +01:00
make check RUSTARGS=""