-
Notifications
You must be signed in to change notification settings - Fork 0
executable file
·40 lines (33 loc) · 1.19 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: jarvis-ci
on:
push:
branches: [main]
jobs:
start:
runs-on: ubuntu-latest
environment: Jarvis-CI
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get install -y python3-pyaudio sox libcairo2 libcairo2-dev portaudio19-dev python3-dev libpcre3 libpcre3-dev ffmpeg python3-pip sqlite3 alsa-tools
- name: CI
env:
API_KEY: ${{ secrets.API_KEY }}
GOOGLE_APPLICATION_CREDENTIALS : ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
PICOVOICE_KEY : ${{ secrets.PICOVOICE_KEY }}
GOOGLE_CLOUD_SECRET : ${{ secrets.GOOGLE_CLOUD_SECRET }}
run: |
echo "$GOOGLE_CLOUD_SECRET" > speech-to-text-key.json && ./run_ci.sh && rm -f speech-to-text-key.json
- name: Code Coverage Report
uses: irongut/[email protected]
with:
filename: coverage.xml
badge: true
fail_below_min: true
format: markdown
hide_branch_rate: false
hide_complexity: true
indicators: true
output: both
thresholds: '60 80'