Skip to content

Commit

Permalink
CI/CD and other improvements
Browse files Browse the repository at this point in the history
See PR #224
  • Loading branch information
RiccardoM authored Jul 15, 2020
1 parent 3e95adb commit 6c3b69a
Show file tree
Hide file tree
Showing 75 changed files with 1,028 additions and 630 deletions.
290 changes: 0 additions & 290 deletions .circleci/config.yml

This file was deleted.

36 changes: 33 additions & 3 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,48 @@ coverage:
range: 70...100

status:
# Learn more at https://codecov.io/docs#yaml_default_commit_status
# Learn more at https://docs.codecov.io/docs/commit-status
project:
default:
threshold: 1% # allow this much decrease on project
app:
target: 70%
flags: app
modules:
target: 70%
flags: modules
client:
flags: client
changes: false

comment:
layout: "header, diff"
behavior: default # update.md if exists else create new
layout: "reach, diff, files"
behavior: default # update if exists else create new
require_changes: true

flags:
app:
paths:
- "app/"
- "baseapp/"
modules:
paths:
- "x/"
- "!x/**/client/" # ignore client package
client:
paths:
- "client/"
- "x/**/client/"

ignore:
- "docs"
- "*.md"
- "*.rst"
- "**/*.pb.go"
- "types/*.pb.go"
- "tests/*"
- "tests/**/*"
- "x/**/*.pb.go"
- "x/**/test_common.go"
- "scripts/"
- "contrib"
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Dockerfile
Vagrantfile

build/
coverage.txt
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Bug report
about: Create a report to help us improve
title: ''
labels: 'Kind:Bug'
labels: 'kind/bug'
assignees: 'RiccardoM'

---
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Feature request
about: Suggest an idea for this project
title: ''
labels: 'Kind:New feature'
labels: 'kind/new-feature'
assignees: ''

---
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Docker
# Docker workflow allows the creation and publishing of new Desmos Docker tags.
# This workflow is run only when a new commit is pushed to master, or a new tag is creted.
on:
pull_request:
push:
branches:
- master

jobs:
Build-and-Publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: desmoslabs/desmos
tag_with_ref: true
add_git_labels: true
push: ${{ startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' }}
Loading

0 comments on commit 6c3b69a

Please sign in to comment.