Skip to content

Commit

Permalink
Merge pull request #829 from gugod/ci-e2e-tweaks2
Browse files Browse the repository at this point in the history
CI e2e tweaks
  • Loading branch information
gugod authored Nov 16, 2024
2 parents 306b9e0 + 39a3035 commit 8c8e61d
Show file tree
Hide file tree
Showing 2 changed files with 46 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
46 changes: 46 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: E2E

on:
workflow_dispatch:
push:
paths:
- perlbrew

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

fedora:
runs-on: ubuntu-latest
container:
image: fedora:latest
steps:
- run: sudo dnf install -y zsh perl
- uses: actions/checkout@v4
- run: zsh ./test-e2e/run.zsh

steps:
- run: |
sudo apt-get update
sudo apt-get install zsh
- uses: actions/checkout@v4
- 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 8c8e61d

Please sign in to comment.