Ver a proveniência

ci: fix various issues with the PRs checks (#139)

tags/v0.10.0
Jérôme Deuchnord há 3 anos
committed by GitHub
ascendente
cometimento
86983c957c
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados ID da chave GPG: 4AEE18F83AFDEB23
3 ficheiros alterados com 8 adições e 32 eliminações
  1. +5
    -12
      .github/workflows/commitlint.yml
  2. +3
    -2
      .github/workflows/unit-tests.yml
  3. +0
    -18
      config-comlipy.yml

+ 5
- 12
.github/workflows/commitlint.yml Ver ficheiro

@@ -11,17 +11,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
- uses: actions/checkout@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
pip install --upgrade pip comlipy
- name: Lint
run: |
message="$(git log --format=%B -n 1 HEAD)"
echo $message
comlipy -c config-comlipy.yml "$message"
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v2
with:
helpURL: 'https://github.com/Kosmorro/kosmorro/blob/master/CONTRIBUTING.md#commiting'


+ 3
- 2
.github/workflows/unit-tests.yml Ver ficheiro

@@ -35,7 +35,8 @@ jobs:
pipenv sync -d
- name: Unit tests
env:
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
COVERALLS_PRO_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
make test
COVERALLS_REPO_TOKEN=$COVERALLS_TOKEN pipenv run coveralls
pipenv run coveralls --service=github

+ 0
- 18
config-comlipy.yml Ver ficheiro

@@ -1,18 +0,0 @@
global:
help: 'get help here: https://github.com/Deuchnord/kosmorro/blob/master/CONTRIBUTING.md#commiting'

rules:
header-min-length:
applicable: always
value: 0
level: 1
header-max-length:
applicable: always
value: 120
level: 2
scope-case:
value: lower-case
scope-empty:
level: 0
subject-case:
level: 0

Carregando…
Cancelar
Guardar