File loading fixes #795
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Coverity scan | |
on: [push, pull_request] | |
jobs: | |
coverity: | |
name: Run Coverity tests | |
if: contains(github.repository, 'open-eid/MOPP-Android') && contains(github.ref, 'coverity_scan') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build and send to Coverity | |
continue-on-error: true | |
run: | | |
export TRAVIS_BRANCH=${GITHUB_REF##*/} | |
wget https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh | |
chmod +x travisci_build_coverity_scan.sh | |
bash travisci_build_coverity_scan.sh | |
env: | |
COVERITY_SCAN_PROJECT_NAME: 'open-eid/MOPP-Android' | |
COVERITY_SCAN_NOTIFICATION_EMAIL: 'eid-teenusehaldus@ria.ee' | |
COVERITY_SCAN_BRANCH_PATTERN: 'coverity_scan' | |
COVERITY_SCAN_BUILD_COMMAND: './gradlew app:assembleDebug -x app:processDebugGoogleServices -x app:uploadCrashlyticsMappingFileDebug --no-daemon' | |
COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} |