mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 07:22:14 +00:00
simple test case for failed post setup
This commit is contained in:
parent
db9987b4c1
commit
2cff8677b0
1 changed files with 24 additions and 0 deletions
24
.github/workflows/failed-post-setup.yml
vendored
Normal file
24
.github/workflows/failed-post-setup.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
---
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: ["main"]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
born_to_fail:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: create requirements file
|
||||||
|
run: echo django > requirements.txt
|
||||||
|
|
||||||
|
- name: Install python
|
||||||
|
uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b
|
||||||
|
id: pynstall
|
||||||
|
with:
|
||||||
|
python-version: '3.11'
|
||||||
|
cache: pip
|
||||||
|
cache-dependency-path: requirements.txt
|
||||||
|
|
||||||
|
# true if cache-hit occured on the primary key
|
||||||
|
- run: echo '${{ steps.pynstall.outputs.cache-hit }}'
|
||||||
|
|
Loading…
Add table
Reference in a new issue