From c103e595db475c66a91e8c63a909cd7db355c8a3 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Fri, 5 Jul 2024 13:46:34 -0700 Subject: [PATCH] Fix periodic CI job Just running make update-deps doesn't work, since uv refuses to run outside of a virtualenv by default. Go back to using neophile. Fix the Python version for running tox in the periodic CI workflow. --- .github/workflows/periodic-ci.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/periodic-ci.yaml b/.github/workflows/periodic-ci.yaml index 3dc1e99..d1d2806 100644 --- a/.github/workflows/periodic-ci.yaml +++ b/.github/workflows/periodic-ci.yaml @@ -25,18 +25,16 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v5 + - name: Run neophile + uses: lsst-sqre/run-neophile@v1 with: python-version: ${{ env.PYTHON_VERSION }} - - - name: Update dependencies - run: make update-deps + mode: update - name: Run tests in tox uses: lsst-sqre/run-tox@v1 with: - python-version: ${{ matrix.python }} + python-version: ${{ env.PYTHON_VERSION }} tox-envs: "lint,typing,py" tox-plugins: tox-uv use-cache: false