Skip to content

Update python-app.yml #14

Update python-app.yml

Update python-app.yml #14

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Build/Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.5.10, 3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dev
run: |
sudo apt-get install -y python-dev
- name: Build Lib
run: |
python3 setup.py install
- name: Run Test
run: |
python3 -m unittest test_levenshtein.py