mirror of
https://github.com/egulias/EmailValidator.git
synced 2026-11-26 06:12:09 +00:00
1ed7ade52c
* Update to recommended two workflows for secure secret when uploadin * Making depenant workflow work
19 lines
465 B
YAML
19 lines
465 B
YAML
name: upload-coverage-to-codacy
|
|
on:
|
|
workflow_run:
|
|
workflows: ["unit-tests"]
|
|
types:
|
|
- completed
|
|
|
|
jobs:
|
|
upload:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: true
|
|
name: upload-coverage
|
|
steps:
|
|
- name: Upload Coverage to Codacy
|
|
shell: bash
|
|
env:
|
|
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
|
run: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r build/logs/clover.xml |