Gruhit Patel commited on
Commit
cc7a9b6
·
1 Parent(s): 22b2e3b

Modified actions

Browse files
Files changed (1) hide show
  1. .github/workflows/test.yml +8 -6
.github/workflows/test.yml CHANGED
@@ -1,8 +1,8 @@
1
  name: TestBackend
2
 
3
  on:
4
- push:
5
- branches:
6
  - main
7
 
8
  jobs:
@@ -16,8 +16,10 @@ jobs:
16
  - uses: actions/setup-python@v2
17
  with:
18
  python-version: '3.9'
19
- run:|
20
- python -m pip install --upgrade pip
21
- pip install -r requirement.txt
22
-
 
 
23
  - run: pytest
 
1
  name: TestBackend
2
 
3
  on:
4
+ - push:
5
+ - branches:
6
  - main
7
 
8
  jobs:
 
16
  - uses: actions/setup-python@v2
17
  with:
18
  python-version: '3.9'
19
+
20
+ - name: Install dependencies
21
+ run: |
22
+ python -m pip install --upgrade pip
23
+ pip install -r requirement.txt
24
+
25
  - run: pytest