Skip to content

Commit

Permalink
Setup Github Actions Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
p-alik committed Jul 17, 2024
1 parent e085ee6 commit bab311d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 46 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: CI
on:
push:
branches: [ "upstream" ]
pull_request:
branches: [ "upstream" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

env:
DEBUG: 1

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest"]
perl: ["5.28"]
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Run integration tests for Perl ${{ matrix.perl }}
uses: shogo82148/actions-setup-perl@v1
timeout-minutes: 5
with:
perl-version: ${{ matrix.perl }}
install-modules-with: cpanm
install-modules-args: --with-develop --with-configure
- run: cat /etc/hosts
- run: hostname --ip-address
- run: sudo apt-get update -qq
- run: sudo apt-get install -y gearman-job-server
- run: systemctl status gearmand-job-server
# - run: perl -V
# - run: cpanm --quiet --notest Devel::Cover::Report::Coveralls
# - run: cpanm --quiet --notest --installdeps .
# - run: perl Makefile.PL
# - run: make
# - run: AUTHOR_TESTING=1 PERL5OPT=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine prove -b -r -s t
# - run: cover
46 changes: 0 additions & 46 deletions .travis.yml

This file was deleted.

0 comments on commit bab311d

Please sign in to comment.