Browse Source

add badges (#16)

* add badges
* ci tests
pull/20/head
Alex 5 years ago
committed by GitHub
parent
commit
d360f30969
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 1 deletions
  1. +18
    -0
      .gitlab-ci.yml
  2. +4
    -1
      README.md

+ 18
- 0
.gitlab-ci.yml View File

@ -0,0 +1,18 @@
stages:
- test
all_branch_test:
stage: test
tags:
- docker
image: python:3.9
script:
- apt-get update ##[edited]
- apt-get install ffmpeg libsm6 libxext6 -y
- pip install cython
- pip install -r requirements-test.txt --no-cache-dir
- pip install codecov
- pytest --cov=rudalle tests/
- bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN
except:
- tags

+ 4
- 1
README.md View File

@ -1,5 +1,9 @@
# ruDALL-E
### Generate images from texts
[![Apache license](https://img.shields.io/badge/License-Apache-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
[![Coverage Status](https://codecov.io/gh/sberbank-ai/ru-dalle/branch/master/graphs/badge.svg)](https://codecov.io/gh/sberbank-ai/ru-dalle)
[![pipeline](https://gitlab.com/shonenkov/ru-dalle/badges/develop/pipeline.svg)](https://codecov.io/gh/sberbank-ai/ru-dalle)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/sberbank-ai/ru-dalle/master.svg)](https://results.pre-commit.ci/latest/github/sberbank-ai/ru-dalle/master)
```
pip install rudalle==0.0.1rc4
@ -10,7 +14,6 @@ pip install rudalle==0.0.1rc4
### Minimal Example:
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1wGE-046et27oHvNlBNPH07qrEQNE04PQ?usp=sharing)
[![Kaggle](https://kaggle.com/static/images/open-in-kaggle.svg)](https://www.kaggle.com/shonenkov/rudalle-example-generation)
### generation by ruDALLE:


Loading…
Cancel
Save