| @@ -11,17 +11,10 @@ jobs: | |||||
| runs-on: ubuntu-latest | runs-on: ubuntu-latest | ||||
| steps: | steps: | ||||
| - uses: actions/checkout@v1 | |||||
| - name: Set up Python | |||||
| uses: actions/setup-python@v1 | |||||
| - uses: actions/checkout@v2 | |||||
| with: | 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' | |||||
| @@ -35,7 +35,8 @@ jobs: | |||||
| pipenv sync -d | pipenv sync -d | ||||
| - name: Unit tests | - name: Unit tests | ||||
| env: | env: | ||||
| COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }} | |||||
| COVERALLS_PRO_TOKEN: ${{ secrets.COVERALLS_TOKEN }} | |||||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |||||
| run: | | run: | | ||||
| make test | make test | ||||
| COVERALLS_REPO_TOKEN=$COVERALLS_TOKEN pipenv run coveralls | |||||
| pipenv run coveralls --service=github | |||||
| @@ -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 | |||||