Verified Commit ebc99895 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Switch CI unit tests to py.test

parent 623005fd
Loading
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -82,10 +82,12 @@ Unit Tests:
  extends: [.python]
  needs: [Pin]
  script:
  - pip install -r requirements.txt -e . coverage[toml] nose
  - coverage run -m nose tests
  - pip install -r requirements.txt -e .
    coverage[toml]
    pytest
  - coverage run -m pytest tests
    --verbose
    --with-xunit --xunit-file=results/xunit.xml
    --junit-xml=results/xunit.xml
  after_script:
  - coverage report
  - coverage json