summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml12
1 files changed, 7 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9758584..8886753 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,27 +1,29 @@
name: CI
-on:
- push:
- branches: [ $default-branch ]
- pull_request:
- branches: [ $default-branch ]
+on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
+ # Failure for one Python version does not indicate it’ll fail for another
+ fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, pypy3]
steps:
- uses: actions/checkout@v2
+ with:
+ submodules: true
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
+ sudo apt install ninja-build libxml2-dev libxslt1-dev
pip install .
pip install flake8 pytest pytest-cov
- name: Lint with flake8
run: |
+ cd lulua
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- name: Test with pytest
run: |