name: Run Unit Tests

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python 3.8
      uses: actions/setup-python@v2
      with:
        python-version: 3.8
    - name: Install dependencies
      run: |
        sudo apt install rsync -y
        python -m pip install --upgrade pip
        pip install wheel
        pip install -r requirements/dev .
    - name: Launch tests
      run: |
        nosetests ./tests

name: Run Unit Tests

on: [push]

jobs:
  build:
    runs-on: ubuntu-20.04

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python 3.8
      uses: actions/setup-python@v2
      with:
        python-version: 3.8
    - name: Install dependencies
      run: |
        sudo apt install rsync -y
        python -m pip install --upgrade pip
        pip install wheel
        pip install -r requirements/dev .
    - name: Launch tests
      run: |
        nosetests ./tests

Use ubuntu 20.04 instead of latest
Use ubuntu 20.04 instead of latest
