Просмотр исходного кода

Merge pull request #11 from dashezup/remove-pytest-from-github-workflow

Remove pytest from GitHub Workflow
Dash Eclipse 5 лет назад
Родитель
Сommit
a3260094e4
1 измененных файлов с 2 добавлено и 5 удалено
  1. 2 5
      .github/workflows/python-package.yml

+ 2 - 5
.github/workflows/python-package.yml

@@ -11,7 +11,7 @@ jobs:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     strategy:
     strategy:
       matrix:
       matrix:
-        python-version: ['3.5', '3.6', '3.7', '3.8']
+        python-version: ['3.7', '3.8', '3.9']
 
 
     steps:
     steps:
     - uses: actions/checkout@v2
     - uses: actions/checkout@v2
@@ -22,7 +22,7 @@ jobs:
     - name: Install dependencies
     - name: Install dependencies
       run: |
       run: |
         python -m pip install --upgrade pip
         python -m pip install --upgrade pip
-        python -m pip install flake8 pytest
+        python -m pip install flake8
         if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
         if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
     - name: Lint with flake8
     - name: Lint with flake8
       run: |
       run: |
@@ -30,6 +30,3 @@ jobs:
         flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
         flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
         # exit-zero treats all errors as warnings
         # exit-zero treats all errors as warnings
         flake8 . --count --exit-zero --max-complexity=10 --max-line-length=79 --statistics
         flake8 . --count --exit-zero --max-complexity=10 --max-line-length=79 --statistics
-    - name: Test with pytest
-      run: |
-        pytest