Skip to content

Commit

Permalink
test gitub action
Browse files Browse the repository at this point in the history
  • Loading branch information
juggler31 committed Oct 1, 2024
1 parent 779fd73 commit 3b5c0ca
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test_install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'Python requirements - get or set in cache'
on: push
description: 'Get pip cache from cache else generate it'
inputs:
requirements:
description: 'Cache key to use'
required: true
default: requirements.txt

jobs:
runs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
cache: 'pip'
python-version: '3.12'
cache-dependency-path: |
requirements.txt
- run: |
pip install -r ${{ inputs.requirements }}
shell: bash

0 comments on commit 3b5c0ca

Please sign in to comment.