Skip to content

Fix tests

Fix tests #46

Workflow file for this run

name: tests
on:
push:
paths-ignore: ['**.md', '**.svg', '**.png']
pull_request:
paths-ignore: ['**.md', '**.svg', '**.png']
jobs:
python:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: [ "3.6", "3.7", "3.8", "3.9" ]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Build Python module
run: |
pip install .
- name: Install WABT
run: |
sudo apt install wabt
- name: Lint
run: |
pip install flake8
flake8 . --count --select=E7,E9,F63,F7,F82 --show-source --statistics
- name: Test
run: |
pip install pytest
pytest
spellcheck:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v2
- name: Install codespell
run: |
pip install codespell
- name: Spellcheck
run: |
codespell