File tree Expand file tree Collapse file tree 5 files changed +69
-0
lines changed Expand file tree Collapse file tree 5 files changed +69
-0
lines changed Original file line number Diff line number Diff line change @@ -45,3 +45,40 @@ curl https://raw.githubusercontent.com/perl-actions/ci-perl-tester-helpers/maste
4545# Linting
4646
4747You can lint this project locally via ` precious lint --all `
48+
49+ # Github Actions
50+
51+ Commands are also available as github actions:
52+ ```
53+ job:
54+ linux:
55+ ...
56+ steps:
57+ ...
58+ - uses: perl-actions/ci-perl-tester-helpers/cpan-install-build-deps@main
59+ - uses: perl-actions/ci-perl-tester-helpers/build-dist@main
60+ - uses: perl-actions/ci-perl-tester-helpers/cpan-install-dist-deps@main
61+ - uses: perl-actions/ci-perl-tester-helpers/test-dist@main
62+ env:
63+ AUTHOR_TESTING: 1
64+ ```
65+ ## perl-actions/ci-perl-tester-helpers/build-dist@master
66+
67+ Build your distribution detecting what framework you are using.
68+
69+ ## perl-actions/ci-perl-tester-helpers/cpan-install-build-deps@master
70+
71+ Install build dependencies (eg: dzil modules referenced in your ` dist.ini ` )
72+
73+ ## perl-actions/ci-perl-tester-helpers/cpan-install-dist-deps@master
74+
75+ Install dependencies of your distribution.
76+
77+ ## perl-actions/ci-perl-tester-helpers/test-dist@master
78+
79+ Tests your distribution using ` prove ` with ` --state save ` .
80+
81+ Recognizes env variables:
82+
83+ - ` AUTHOR_TESTING `
84+ If set to ` 1 ` , includes tests in ` xt ` directory (if available)
Original file line number Diff line number Diff line change 1+ ---
2+ name : ' Build distribution'
3+ description : ' Build distribution, automatically detecting how'
4+ runs :
5+ using : " composite"
6+ steps :
7+ - run : $GITHUB_ACTION_PATH/../bin/build-dist
8+ shell : bash
Original file line number Diff line number Diff line change 1+ ---
2+ name : ' Install build dependencies from CPAN'
3+ description : ' Install build dependencies from CPAN'
4+ runs :
5+ using : " composite"
6+ steps :
7+ - run : $GITHUB_ACTION_PATH/../bin/cpan-install-build-deps
8+ shell : bash
Original file line number Diff line number Diff line change 1+ ---
2+ name : ' Install distribution dependencies from CPAN'
3+ description : ' Install distribution dependencies from CPAN'
4+ runs :
5+ using : " composite"
6+ steps :
7+ - run : $GITHUB_ACTION_PATH/../bin/cpan-install-dist-deps
8+ shell : bash
Original file line number Diff line number Diff line change 1+ ---
2+ name : ' Test distribution'
3+ description : ' Test distribution'
4+ runs :
5+ using : " composite"
6+ steps :
7+ - run : $GITHUB_ACTION_PATH/../bin/test-dist
8+ shell : bash
You can’t perform that action at this time.
0 commit comments