Skip to content

Update livestream.py #17

Update livestream.py

Update livestream.py #17

Workflow file for this run

name: Python application
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.9]
env:
DISPLAY: ':99.0'
steps:
- name: setup ubuntu-latest xvfb
run: |
sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Run Mypy
run: mypy qstream
- name: Test with pytest
run: |
pytest ./qstream/tests/
- uses: r-lib/actions/setup-pandoc@v1
with:
pandoc-version: '2.7.3' # The pandoc version to download (if necessary) and use.
- name: Build The Docs
shell: bash
run: |
cd docs &&
export SPHINXOPTS="-W -v" &&
make html
- name: Deploy
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: docs/_build/html # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch