Skip to content

Commit

Permalink
Merge 280f3f4 into 90637cd
Browse files Browse the repository at this point in the history
  • Loading branch information
zmughal committed Dec 23, 2022
2 parents 90637cd + 280f3f4 commit 3251965
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 3 deletions.
66 changes: 66 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: perl
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
create:
jobs:
notify:
runs-on: ubuntu-latest
continue-on-error: true
if: ${{ always() }}
steps:
- uses: PDLPorters/devops/github-actions/irc-notifications@master
with:
target-notifications: false # TODO
ci:
runs-on: ${{ matrix.os }}
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
needs: notify
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
perl-version: ['5.12', '5.14', '5.20']
include:
- perl-version: '5.30'
os: ubuntu-latest
release-test: true
coverage: true
- perl-version: '5.30'
os: windows-latest
- perl-version: '5.30'
os: macos-11
steps:
- uses: actions/checkout@v2
- name: 'ci-dist: target-setup-perl'
uses: PDLPorters/devops/github-actions/ci-dist@master
with:
target-setup-perl: true
perl-version: ${{ matrix.perl-version }}
- name: 'ci-dist: target-all'
uses: PDLPorters/devops/github-actions/ci-dist@master
with:
target-setup-perl: false
target-install-dist-perl-deps: true
dist-perl-deps-configure: Module::Build # TODO
target-test-release-testing: true
target-test: true
test-enable-release-testing: ${{ matrix.release-test }}
test-enable-coverage: ${{ matrix.coverage }}
test-enable-graphical-display: true
github-token: ${{ secrets.GITHUB_TOKEN }}

build-status:
runs-on: ubuntu-latest
continue-on-error: true
if: ${{ always() }}
needs: [ 'ci' ]
steps:
- uses: PDLPorters/devops/github-actions/irc-notifications@master
with:
target-build-status: false # TODO
needs: ${{ toJSON(needs) }}
21 changes: 21 additions & 0 deletions .github/workflows/issue-notify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: issue-notify

on:
issues:
types: [opened,assigned,closed,reopened]
issue_comment:
types: [created]
pull_request:
types: [closed,assigned,converted_to_draft,ready_for_review,review_requested]
pull_request_review:
types: [submitted]

jobs:
notify:
runs-on: ubuntu-latest
continue-on-error: true
if: ${{ always() }}
steps:
- uses: PDLPorters/devops/github-actions/irc-notifications@master
with:
target-notifications: true
2 changes: 1 addition & 1 deletion Build.PL
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ my $build = Module::Build->new(
},
requires => {
Moo => '1.0',
Prima => '1.33',
Prima => '1.67',
'Data::Dumper::GUI' => '0.005',
},
recursive_test_files => 1,
Expand Down
4 changes: 2 additions & 2 deletions lib/App/Prima/REPL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ BEGIN {
our $VERSION = 0.03;
use Moo;

use Prima qw(Buttons Notebooks ScrollWidget Application Edit
FileDialog ImageViewer ImageDialog InputHistory);
use Prima qw(Buttons Notebooks Widget::ScrollWidget Application Edit
Dialog::FileDialog ImageViewer Dialog::ImageDialog InputHistory);

has 'output_line_number' => (
is => 'rw',
Expand Down

0 comments on commit 3251965

Please sign in to comment.