Update citation in readme #29
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will upload a Python Package using Twine when a release is created | |
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries | |
name: CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.8] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
sudo apt update -y | |
sudo apt install ffmpeg imagemagick | |
python -m pip install --upgrade pip | |
python -m pip install flake8 | |
pip install . | |
- name: Lint with flake8 | |
run: | | |
# stop the build if there are Python syntax errors or undefined names | |
flake8 deepcomp --ignore=E501 | |
- name: Run example commands to test | |
run: | | |
deepcomp --alg fullcomp --ues 2 | |
deepcomp --approach deepcomp --train-steps 200 --batch-size 128 --env small --ues 2 | |
deepcomp --approach ddcomp --train-steps 200 --batch-size 128 --env small --ues 2 |