Update pipfiles #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update pipfiles | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
schedule: | |
- cron: '0 12 1 * *' | |
workflow_dispatch: | |
jobs: | |
udpate_pipfiles: | |
name: Run tests on ubuntu-latest with Python ${{ matrix.python-version }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: glotzerlab/workflows/setup-uv@9e9ed25943c08056ae0c8158e0845cfd41b35fdf | |
- name: Set up Python environment | |
run: | | |
for v in "3.8" "3.9" "3.10" "3.11" "3.12"; do | |
pipfile=".github/requirements$v.txt" | |
uv pip compile --python-version $v requirements.txt tests/requirements.txt > $pipfile | |
done | |
- name: Create pull request | |
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5 | |
with: | |
base: master | |
path: code | |
commit-message: "Update pip lockfiles" | |
branch: update-pip-lockfiles | |
delete-branch: true | |
title: Update pip lockfiles. | |
body: Automated changes by uv pip compile. | |
token: ${{ steps.generate-token.outputs.token }} |