Răsfoiți Sursa

Remove pytest from GitHub Workflow

Dash Eclipse 5 ani în urmă
părinte
comite
1b7ad57c94
1 a modificat fișierele cu 2 adăugiri și 5 ștergeri
  1. 2 5
      .github/workflows/python-package.yml

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

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