File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change 12
12
13
13
steps :
14
14
- uses : actions/checkout@v1
15
- - uses : actions/cache@v1
16
- id : cache
17
- with :
18
- path : ~/.cache
19
- key : ${{ runner.os }}-Firebase-CLI
20
15
- name : Set up Python ${{ matrix.python }}
21
16
uses : actions/setup-python@v1
22
17
with :
@@ -31,12 +26,11 @@ jobs:
31
26
- name : Test with pytest
32
27
if : success() || failure()
33
28
run : pytest
34
- - name : Set up CLI
35
- if : steps.cache.outputs.cache-hit != 'true'
36
- run : |
37
- curl -o ${HOME}/.cache/bin/firebase --create-dirs -sL https://firebase.tools/bin/linux/latest
38
- chmod +x ${HOME}/.cache/bin/firebase
39
- - name : Add Firebase to path
40
- run : echo "::add-path::${HOME}/.cache/bin"
29
+ - name : Set up Node.js 10
30
+ uses : actions/setup-node@v1
31
+ with :
32
+ node-version : 10.x
41
33
- name : Run integration tests against emulator
42
- run : firebase emulators:exec --only database --project fake-project-id 'pytest integration/test_db.py'
34
+ run : |
35
+ npm install -g firebase-tools
36
+ firebase emulators:exec --only database --project fake-project-id 'pytest integration/test_db.py'
You can’t perform that action at this time.
0 commit comments