
before_script:

stages:
  - test

unit_test_job:
  stage: test
  script:
    - python3 -m unittest discover
  only:
    - master

smoke_test_job:
  stage: test
  script:
    - ./ViewFix.py data/secdef-test.dat > /dev/null
  only:
    - master


before_script:
  - python3 -m venv myenv
  - source myenv/bin/activate
  - pip3 install -r requirements.txt

after_script:
  - deactivate

stages:
  - test

unit_test_job:
  stage: test
  script:
    - python3 -m unittest discover
  only:
    - master

smoke_test_job:
  stage: test
  script:
    - ./ViewFix.py data/secdef-test.dat > /dev/null
  only:
    - master

Update to standard Python Gitlab CI script
Update to standard Python Gitlab CI script
