Skip to content

Commit

Permalink
Merge pull request #82 from fga-eps-mds/feature/47-continuous-integra…
Browse files Browse the repository at this point in the history
…tion

#47 Configurar integração contínua
  • Loading branch information
fabiola-m authored Sep 27, 2019
2 parents 94085e9 + 51f00a6 commit 7bb8080
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
pull_request:
branches:
- master
- release/*
- develop

jobs:
test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- name: Setup enviroment
run: docker-compose up -d --build
- name: Run tests
run: docker exec acacia_backend bash -c "cd src/ && coverage run manage.py test && coverage xml -o cov.xml"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1.0.2
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./src/cov.xml
flags: unittests
name: codecov-umbrella
2 changes: 2 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<p align="center"> <img src="img/wordmark_1.svg" width="400"></p>

[![codecov](https://codecov.io/gh/fga-eps-mds/2019.2-Acacia/branch/develop/graph/badge.svg)](https://codecov.io/gh/fga-eps-mds/2019.2-Acacia)

## Visão geral

Acácia propõe-se a facilitar a criação de uma comunidade voluntária em torno da agricultura urbana, diminuindo o desperdício de comida e difundindo conhecimento em plantio e colheita neste ambiente. Para tal, a ferramenta conecta pessoas que possuem plantas frutíferas em local urbano, voluntários de colheita e beneficiários que buscam doações de alimentos, para que estes possam trabalhar juntos, com colheita colaborativa.
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Django==2.2.4
djangorestframework==3.10.0
psycopg2==2.8.3
psycopg2==2.8.3
coverage

0 comments on commit 7bb8080

Please sign in to comment.