39 lines
729 B
YAML
39 lines
729 B
YAML
|
name: Python
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [ master ]
|
||
|
pull_request:
|
||
|
branches: [ master ]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
strategy:
|
||
|
matrix:
|
||
|
python:
|
||
|
#- '2.7'
|
||
|
- '3.6'
|
||
|
- '3.7'
|
||
|
- '3.8'
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
|
||
|
- name: Set up Python ${{ matrix.python }}
|
||
|
uses: actions/setup-python@v1
|
||
|
with:
|
||
|
python-version: ${{ matrix.python }}
|
||
|
|
||
|
- name: Install dependencies
|
||
|
run: |
|
||
|
python -m pip install --upgrade pip
|
||
|
pip install -e .
|
||
|
|
||
|
- name: Compile all scripts
|
||
|
run: python -m compileall -f terminatorlib/ tests/ remotinator terminator
|
||
|
|
||
|
- name: Run legacy tests
|
||
|
run: bash run_tests
|