before_script:
  - id
  - ruby -v
  - which ruby
  - virtualenv -p $(which python3) venv
  - bundle install --jobs $(nproc)  --path venv/ruby
  - source venv/bin/activate
  - pip install --upgrade pip
  - pip install -r requirements.txt
  - cp members/localSettings.py.example members/localSettings.py

stages:
  - build
  - test

network-build:
  stage: build
  script:
    - python manage.py makemigrations

network-test:
  stage: test
  script:
    - python manage.py test network

before_script:
  - id
  - ruby -v
  - which ruby
  - virtualenv -p $(which python3) venv
  - bundle install --jobs $(nproc)  --path venv/ruby
  - source venv/bin/activate
  - pip install --upgrade pip
  - pip install -r requirements.txt
  - cp members/localSettings.py.example members/localSettings.py

cache:
  paths:
    - venv/

stages:
  - build
  - test

db-migrations:
  stage: build
  script:
    - python manage.py makemigrations

network-test:
  stage: test
  script:
    - python manage.py test network

accounts-test:
  stage: test
  script:
    - python manage.py test accounts

Add two differents pipelines for tests
Add two differents pipelines for tests
