Skip to content

Improve contribution guide and GH issue template #18

Improve contribution guide and GH issue template

Improve contribution guide and GH issue template #18

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'
pull_request:
branches:
- main
permissions:
contents: read
jobs:
test:
name: Test and lint
runs-on: ubuntu-22.04
steps:
- name: Checkout the code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build docker
run: make build
- name: Run docker
run: make up
- name: Apply DB migrations
run: make migrate
- name: Run Linters
run: make lint
- name: Run tests
run: make TEST_ARGS=":codecov? true" cloverage
- name: Update code coverage report
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import
curl -Os https://uploader.codecov.io/latest/linux/codecov
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig
gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
shasum -a 256 -c codecov.SHA256SUM
chmod +x codecov
./codecov -t ${CODECOV_TOKEN} -f target/coverage/codecov.json