Skip to content

Commit

Permalink
tweak e2e to run when perlbrew is updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
gugod committed Nov 15, 2024
1 parent b0baf72 commit 630f406
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,28 +51,3 @@ jobs:
name: App-perlbrew-distdir
- run: echo ./App-perlbrew-*
- run: cpanm --verbose ./App-perlbrew-*

e2e:
name: e2e
runs-on: ubuntu-latest
container:
image: perl:5.40
steps:
- uses: actions/checkout@v4
- run: |
apt update
apt install -y zsh
- run: ./test-e2e/run.zsh

e2eMacos:
strategy:
matrix:
os: ["macos-latest", "macos-13"]
name: e2e-${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: shogo82148/[email protected]
with:
perl-version: "5.40"
- uses: actions/checkout@v4
- run: /bin/zsh ./test-e2e/run.zsh
29 changes: 29 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: E2E

on:
push:
paths:
- perlbrew

jobs:
ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
apt update
apt install -y zsh
- run: zsh ./test-e2e/run.zsh

macos:
strategy:
matrix:
os: ["macos-latest", "macos-13"]
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: shogo82148/[email protected]
with:
perl-version: "5.40"
- uses: actions/checkout@v4
- run: /bin/zsh ./test-e2e/run.zsh

0 comments on commit 630f406

Please sign in to comment.