File size: 506 Bytes
7749774
 
 
652a803
6d1b431
7749774
 
 
 
 
 
 
9cf63b8
 
f788777
9cf63b8
 
7749774
6d1b431
cc7a9b6
 
 
 
 
9cf63b8
 
 
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
name: TestBackend

on:
  push:
    branches: deployment

jobs:
  test:
    name: Run pytest
    runs-on: ubuntu-latest

    steps:
    - name: Perform checkout
      uses: actions/checkout@v2
    
    - name: Set up python to perform testing
      uses: actions/setup-python@v2
      with:
        python-version: '3.9.0'

    - name: Install dependencies
      run: |
          python -m pip install --upgrade pip
          pip install -r requirement.txt
    
    - name: Run the testing
      run: pytest