diff --git a/.github/workflows/build-20.04.yml b/.github/workflows/build-20.04.yml index 8d01623..2d8a2bc 100644 --- a/.github/workflows/build-20.04.yml +++ b/.github/workflows/build-20.04.yml @@ -1,7 +1,7 @@ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions -name: CI Build - Python 3.4-3.7 +name: CI Build - Python 3.5-3.7 on: push: @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.4", "3.5", "3.6", "3.7"] + python-version: ["3.5", "3.6", "3.7"] steps: - uses: actions/checkout@v4 @@ -25,6 +25,8 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + env: + PIP_TRUSTED_HOST: "pypi.python.org pypi.org files.pythonhosted.org" - name: Install dependencies run: | python -m pip install --upgrade pip @@ -41,7 +43,7 @@ jobs: coverage run -m pytest - name: Coveralls env: - COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }} + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} run: | pip install coveralls coveralls diff --git a/.github/workflows/build-24.04.yml b/.github/workflows/build-24.04.yml index 7cc5cfe..4c25cf3 100644 --- a/.github/workflows/build-24.04.yml +++ b/.github/workflows/build-24.04.yml @@ -28,7 +28,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install flake8 pytest + python -m pip install flake8 pytest coverage if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Lint with flake8 run: | @@ -41,7 +41,7 @@ jobs: coverage run -m pytest - name: Coveralls env: - COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }} + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} run: | pip install coveralls coveralls