terminator/.github/workflows/python.yml

42 lines
929 B
YAML
Raw Normal View History

2020-04-17 16:03:58 +00:00
name: Python
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python:
2020-04-17 16:20:43 +00:00
- '2.7'
2020-04-17 16:03:58 +00:00
- '3.6'
- '3.7'
- '3.8'
steps:
- uses: actions/checkout@v2
2020-04-17 16:20:43 +00:00
2020-04-17 16:03:58 +00:00
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
2020-04-17 16:15:46 +00:00
- name: Install native dependencies
run: sudo apt-get install -y --no-install-recommends gobject-introspection gir1.2-keybinder-3.0 gettext intltool libdbus-glib-1-dev libgirepository1.0-dev libcairo-dev
2020-04-17 16:03:58 +00:00
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
2020-04-17 16:15:46 +00:00
2020-04-17 16:03:58 +00:00
- name: Compile all scripts
run: python -m compileall -f terminatorlib/ tests/ remotinator terminator
- name: Run legacy tests
run: bash run_tests