From b3da2b70296e4c580406ea5f4a0bdf367f6f582b Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Thu, 20 Aug 2020 21:24:35 +0200 Subject: [PATCH] Final version of pytest workflow --- .github/workflows/pytest_cov.yml | 2 +- .travis.txt | 57 -------------------------------- 2 files changed, 1 insertion(+), 58 deletions(-) delete mode 100644 .travis.txt diff --git a/.github/workflows/pytest_cov.yml b/.github/workflows/pytest_cov.yml index 593a1a79..8e60f72b 100644 --- a/.github/workflows/pytest_cov.yml +++ b/.github/workflows/pytest_cov.yml @@ -1,4 +1,4 @@ -name: PyTest + Coverage +name: PyTest on: pull_request: diff --git a/.travis.txt b/.travis.txt deleted file mode 100644 index b0b45ee9..00000000 --- a/.travis.txt +++ /dev/null @@ -1,57 +0,0 @@ -os: linux -dist: focal -services: - - xvfb -language: python -cache: - - bundler - -addons: - apt: - packages: - - libenchant-dev - - python3-pyqt5 - - python3-pyqt5.qtsvg - - python3-lxml - -install: -# - pip install --upgrade pip - - pip install -r requirements.txt - - pip install PyVirtualDisplay - - pip install pytest-cov - - pip install pytest-xvfb - - pip install pytest-qt - - pip install codecov - -stages: - - name: Main - - name: Supported -# - name: Future -# if: branch = main - -jobs: - include: - - stage: Main - python: 3.8 - script: - - python -m pytest --cov=nw -v - after_success: - - codecov - after_failure: - - cat /sys/fs/cgroup/memory/memory.max_usage_in_bytes - - - stage: Supported - python: 3.6 - script: - - python -m pytest -v - - - python: 3.7 - script: - - python -m pytest -v - -# - stage: -# - Future -# python: -# - 3.9-dev -# script: -# - python -m pytest -v