Skip to content

Commit

Permalink
Add regression for action issue #84.
Browse files Browse the repository at this point in the history
  • Loading branch information
awalsh128 committed Feb 4, 2023
1 parent 2c6a7a4 commit 7f6a191
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/dev_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -338,3 +338,32 @@ jobs:
packages: libasound2 libatk-bridge2.0-0 libatk1.0-0 libatspi2.0-0 libcups2 libdrm2 libgbm1 libnspr4 libnss3 libxcomposite1 libxdamage1 libxfixes3 libxkbcommon0 libxrandr2
version: ${{ github.run_id }}-${{ github.run_attempt }}-regression_81
debug: ${{ env.DEBUG }}

regression_84_backslash:
runs-on: ubuntu-latest
name: "Multiline package listings (regression issue #84)."
steps:
- uses: actions/[email protected]
- name: Literal Block
uses: awalsh128/cache-apt-pkgs-action@dev
with:
packages: >
xdot
rolldice distro-info-data
version: ${{ github.run_id }}-${{ github.run_attempt }}-regression_84
debug: ${{ env.DEBUG }}
- name: Folded Block
id: folded-block
uses: awalsh128/cache-apt-pkgs-action@dev
with:
packages: |
xdot \
rolldice distro-info-data
version: ${{ github.run_id }}-${{ github.run_attempt }}-regression_84
debug: ${{ env.DEBUG }}
- name: Verify
if: steps.folded-block.outputs.cache-hit != 'true'
run: |
echo "cache-hit = ${{ steps.cache-apt-pkgs-backslash.outputs.cache-hit }}"
exit 1
shell: bash
29 changes: 29 additions & 0 deletions .github/workflows/master_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -338,3 +338,32 @@ jobs:
packages: libasound2 libatk-bridge2.0-0 libatk1.0-0 libatspi2.0-0 libcups2 libdrm2 libgbm1 libnspr4 libnss3 libxcomposite1 libxdamage1 libxfixes3 libxkbcommon0 libxrandr2
version: ${{ github.run_id }}-${{ github.run_attempt }}-regression_81
debug: ${{ env.DEBUG }}

regression_84_backslash:
runs-on: ubuntu-latest
name: "Multiline package listings (regression issue #84)."
steps:
- uses: actions/[email protected]
- name: Literal Block
uses: awalsh128/cache-apt-pkgs-action@master
with:
packages: >
xdot
rolldice distro-info-data
version: ${{ github.run_id }}-${{ github.run_attempt }}-regression_84
debug: ${{ env.DEBUG }}
- name: Folded Block
id: folded-block
uses: awalsh128/cache-apt-pkgs-action@master
with:
packages: |
xdot \
rolldice distro-info-data
version: ${{ github.run_id }}-${{ github.run_attempt }}-regression_84
debug: ${{ env.DEBUG }}
- name: Verify
if: steps.folded-block.outputs.cache-hit != 'true'
run: |
echo "cache-hit = ${{ steps.cache-apt-pkgs-backslash.outputs.cache-hit }}"
exit 1
shell: bash
29 changes: 29 additions & 0 deletions .github/workflows/staging_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -338,3 +338,32 @@ jobs:
packages: libasound2 libatk-bridge2.0-0 libatk1.0-0 libatspi2.0-0 libcups2 libdrm2 libgbm1 libnspr4 libnss3 libxcomposite1 libxdamage1 libxfixes3 libxkbcommon0 libxrandr2
version: ${{ github.run_id }}-${{ github.run_attempt }}-regression_81
debug: ${{ env.DEBUG }}

regression_84_backslash:
runs-on: ubuntu-latest
name: "Multiline package listings (regression issue #84)."
steps:
- uses: actions/[email protected]
- name: Literal Block
uses: awalsh128/cache-apt-pkgs-action@staging
with:
packages: >
xdot
rolldice distro-info-data
version: ${{ github.run_id }}-${{ github.run_attempt }}-regression_84
debug: ${{ env.DEBUG }}
- name: Folded Block
id: folded-block
uses: awalsh128/cache-apt-pkgs-action@staging
with:
packages: |
xdot \
rolldice distro-info-data
version: ${{ github.run_id }}-${{ github.run_attempt }}-regression_84
debug: ${{ env.DEBUG }}
- name: Verify
if: steps.folded-block.outputs.cache-hit != 'true'
run: |
echo "cache-hit = ${{ steps.cache-apt-pkgs-backslash.outputs.cache-hit }}"
exit 1
shell: bash
29 changes: 29 additions & 0 deletions test_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -338,3 +338,32 @@ jobs:
packages: libasound2 libatk-bridge2.0-0 libatk1.0-0 libatspi2.0-0 libcups2 libdrm2 libgbm1 libnspr4 libnss3 libxcomposite1 libxdamage1 libxfixes3 libxkbcommon0 libxrandr2
version: ${{ github.run_id }}-${{ github.run_attempt }}-regression_81
debug: ${{ env.DEBUG }}

regression_84_backslash:
runs-on: ubuntu-latest
name: "Multiline package listings (regression issue #84)."
steps:
- uses: actions/[email protected]
- name: Literal Block
uses: awalsh128/cache-apt-pkgs-action@$branch$
with:
packages: >
xdot
rolldice distro-info-data
version: ${{ github.run_id }}-${{ github.run_attempt }}-regression_84
debug: ${{ env.DEBUG }}
- name: Folded Block
id: folded-block
uses: awalsh128/cache-apt-pkgs-action@$branch$
with:
packages: |
xdot \
rolldice distro-info-data
version: ${{ github.run_id }}-${{ github.run_attempt }}-regression_84
debug: ${{ env.DEBUG }}
- name: Verify
if: steps.folded-block.outputs.cache-hit != 'true'
run: |
echo "cache-hit = ${{ steps.cache-apt-pkgs-backslash.outputs.cache-hit }}"
exit 1
shell: bash

0 comments on commit 7f6a191

Please sign in to comment.