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 1ff12c5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test_install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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:
test:
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 1ff12c5

Please sign in to comment.