From 2cff8677b0c7ae814bcab220515a0583bdb3ab81 Mon Sep 17 00:00:00 2001 From: ds Date: Wed, 10 May 2023 21:28:49 +0300 Subject: [PATCH] simple test case for failed post setup --- .github/workflows/failed-post-setup.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/failed-post-setup.yml diff --git a/.github/workflows/failed-post-setup.yml b/.github/workflows/failed-post-setup.yml new file mode 100644 index 00000000..2e445007 --- /dev/null +++ b/.github/workflows/failed-post-setup.yml @@ -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 }}' +