forked from sandflow/ttconv
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (24 loc) · 842 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: CI
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-18.04
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get -y install python3.7 python3-pip
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10
python3.7 -m pip install pipenv
- name: Checkout repo
uses: actions/checkout@v2
with:
submodules : true
- name: Install python environment
run: pipenv install --dev
- name: Run CI
env:
PYTHONPATH: src/main/python
run: /bin/sh scripts/ci.sh