Skip to content

CI

CI #215

Workflow file for this run

name: CI
on:
push:
pull_request:
schedule:
- cron: '0 8 * * 6'
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
python: [3.6, 3.7, 3.8]
name: "Test: Python ${{ matrix.python }}"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- run: wget --no-check-certificate https://www.vlfeat.org/matconvnet/models/imagenet-vgg-verydeep-19.mat
- run: python neural_style.py --content examples/1-content.jpg --styles examples/1-style.jpg --output test-$(date +%s).png --iterations 2
fmt:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable