From 6c2ab30dd3846989027f447e7fffdf1cc38e6acf Mon Sep 17 00:00:00 2001 From: Mathieu Scheltienne Date: Fri, 31 May 2024 08:48:04 +0200 Subject: [PATCH] update github workflows --- .github/workflows/pytest.yaml | 3 +-- .github/workflows/python-publish.yml | 5 +++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 6ccb456..349a5f3 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -29,7 +29,6 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - architecture: 'x64' - name: Install dependencies run: | python -m pip install --progress-bar off --upgrade pip setuptools @@ -45,6 +44,7 @@ jobs: name: codecov-umbrella # optional token: ${{ secrets.CODECOV_TOKEN }} verbose: true # optional (default = false) + pytest-pip-pre: timeout-minutes: 30 strategy: @@ -63,7 +63,6 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - architecture: 'x64' - name: Install dependencies run: | python -m pip install --progress-bar off --upgrade pip setuptools diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 287b9ee..c91f81f 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -10,7 +10,7 @@ on: jobs: deploy: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Checkout source @@ -18,7 +18,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: 3.11 - name: Install dependencies run: | python -m pip install --upgrade pip @@ -29,4 +29,5 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | python setup.py sdist bdist_wheel + twine check dist/* twine upload dist/*