Browse Source

Attempt to add tests to github actions

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.8.5
Erez Sh 4 years ago
parent
commit
ba3b9076c0
1 changed files with 24 additions and 0 deletions
  1. +24
    -0
      .github/workflows/tests.yml

+ 24
- 0
.github/workflows/tests.yml View File

@@ -0,0 +1,24 @@
name: Tests
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Download submodules
run: |
git submodule update --init --recursive
git submodule sync -q
git submodule update --init
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: [2.7, 3.4, 3.5, 3.6, 3.7, 3.8]
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r nearley-requirements.txt
- name: Run tests
run: |
python -m tests

Loading…
Cancel
Save