commit ccc1a85a49ff69d4e0d7bdefeadb0d6f45948203 from: Jelmer Vernooij via: GitHub date: Mon Jan 30 15:28:27 2023 UTC Merge pull request #1140 from cclauss/patch-3 Upgrade GitHub Actions commit - 032233f88913470651b64fc6bfdec7c6630d5ceb commit + ccc1a85a49ff69d4e0d7bdefeadb0d6f45948203 blob - a3edd9f5fce0bb37afa8a474925239e96b2485a3 blob + e085494cbf7d5bd3f47e5139844399b1efedffd9 --- .github/workflows/pythontest.yml +++ .github/workflows/pythontest.yml @@ -17,9 +17,9 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install native dependencies (Ubuntu) @@ -31,17 +31,17 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -U ".[fastimport,paramiko,https]" + pip install --upgrade ".[fastimport,paramiko,https]" - name: Install gpg on supported platforms - run: pip install -U ".[pgp]" + run: pip install --upgrade ".[pgp]" if: "matrix.os != 'windows-latest' && matrix.python-version != 'pypy3'" - name: Style checks run: | - pip install -U flake8 + pip install --upgrade flake8 python -m flake8 - name: Typing checks run: | - pip install -U mypy types-paramiko types-requests + pip install --upgrade mypy types-paramiko types-requests python -m mypy dulwich if: "matrix.python-version != 'pypy3'" - name: Build @@ -49,5 +49,5 @@ jobs: python setup.py build_ext -i - name: Coverage test suite run run: | - pip install -U coverage + pip install --upgrade coverage python -m coverage run -p -m unittest dulwich.tests.test_suite