Skip to content

Commit

Permalink
Use github actions instead of travis ci
Browse files Browse the repository at this point in the history
  • Loading branch information
titsuki committed Apr 24, 2021
1 parent 98548d3 commit 18cd3ca
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 33 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: test

on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:

jobs:
raku:
strategy:
matrix:
os:
- ubuntu-latest
- macOS-latest
raku-version:
- 'latest'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: Raku/setup-raku@v1
with:
raku-version: ${{ matrix.raku-version }}
- name: Install Dependencies
run: zef install --/test --test-depends --deps-only .
- name: Install App::Prove6
run: zef install --/test App::Prove6
- name: Build gnuplot
run: zef build .
- name: Run Tests
run: prove6 -l t
66 changes: 35 additions & 31 deletions META6.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,44 @@
{
"author" : "cpan:TITSUKI",
"authors" : [
"author": "cpan:TITSUKI",
"authors": [
"Itsuki Toyota"
],
"build-depends" : [
"build-depends": [
"zef",
"Distribution::Builder::MakeFromJSON",
"Chart::Gnuplot::CustomBuilder"
],
"builder" : "Chart::Gnuplot::CustomBuilder",
"depends" : [ ],
"description" : "A Raku bindings for gnuplot",
"license" : "GPL-3.0",
"name" : "Chart::Gnuplot",
"perl" : "6.c",
"provides" : {
"Chart::Gnuplot" : "lib/Chart/Gnuplot.pm6",
"Chart::Gnuplot::Arrow" : "lib/Chart/Gnuplot/Arrow.pm6",
"Chart::Gnuplot::Border" : "lib/Chart/Gnuplot/Border.pm6",
"Chart::Gnuplot::CustomBuilder" : "lib/Chart/Gnuplot/CustomBuilder.pm6",
"Chart::Gnuplot::Grid" : "lib/Chart/Gnuplot/Grid.pm6",
"Chart::Gnuplot::Label" : "lib/Chart/Gnuplot/Label.pm6",
"Chart::Gnuplot::Legend" : "lib/Chart/Gnuplot/Legend.pm6",
"Chart::Gnuplot::Object" : "lib/Chart/Gnuplot/Object.pm6",
"Chart::Gnuplot::Output" : "lib/Chart/Gnuplot/Output.pm6",
"Chart::Gnuplot::Range" : "lib/Chart/Gnuplot/Range.pm6",
"Chart::Gnuplot::Subset" : "lib/Chart/Gnuplot/Subset.pm6",
"Chart::Gnuplot::Terminal" : "lib/Chart/Gnuplot/Terminal.pm6",
"Chart::Gnuplot::Tics" : "lib/Chart/Gnuplot/Tics.pm6",
"Chart::Gnuplot::Timestamp" : "lib/Chart/Gnuplot/Timestamp.pm6",
"Chart::Gnuplot::Title" : "lib/Chart/Gnuplot/Title.pm6",
"Chart::Gnuplot::Util" : "lib/Chart/Gnuplot/Util.pm6"
"builder": "Chart::Gnuplot::CustomBuilder",
"depends": [
],
"description": "A Raku bindings for gnuplot",
"license": "GPL-3.0",
"name": "Chart::Gnuplot",
"perl": "6.c",
"provides": {
"Chart::Gnuplot": "lib/Chart/Gnuplot.pm6",
"Chart::Gnuplot::Arrow": "lib/Chart/Gnuplot/Arrow.pm6",
"Chart::Gnuplot::Border": "lib/Chart/Gnuplot/Border.pm6",
"Chart::Gnuplot::CustomBuilder": "lib/Chart/Gnuplot/CustomBuilder.pm6",
"Chart::Gnuplot::Grid": "lib/Chart/Gnuplot/Grid.pm6",
"Chart::Gnuplot::Label": "lib/Chart/Gnuplot/Label.pm6",
"Chart::Gnuplot::Legend": "lib/Chart/Gnuplot/Legend.pm6",
"Chart::Gnuplot::Object": "lib/Chart/Gnuplot/Object.pm6",
"Chart::Gnuplot::Output": "lib/Chart/Gnuplot/Output.pm6",
"Chart::Gnuplot::Range": "lib/Chart/Gnuplot/Range.pm6",
"Chart::Gnuplot::Subset": "lib/Chart/Gnuplot/Subset.pm6",
"Chart::Gnuplot::Terminal": "lib/Chart/Gnuplot/Terminal.pm6",
"Chart::Gnuplot::Tics": "lib/Chart/Gnuplot/Tics.pm6",
"Chart::Gnuplot::Timestamp": "lib/Chart/Gnuplot/Timestamp.pm6",
"Chart::Gnuplot::Title": "lib/Chart/Gnuplot/Title.pm6",
"Chart::Gnuplot::Util": "lib/Chart/Gnuplot/Util.pm6"
},
"resources" : [ ],
"source-url" : "git://github.com/titsuki/raku-Chart-Gnuplot.git",
"tags" : [ ],
"test-depends" : [ ],
"version" : "0.0.19"
"resources": [
],
"source-url": "git://github.com/titsuki/raku-Chart-Gnuplot.git",
"tags": [
],
"test-depends": [
],
"version": "0.0.19"
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.com/titsuki/raku-Chart-Gnuplot.svg?branch=master)](https://travis-ci.com/titsuki/raku-Chart-Gnuplot)
[![Actions Status](https://github.com/titsuki/raku-Chart-Gnuplot/workflows/test/badge.svg)](https://github.com/titsuki/raku-Chart-Gnuplot/actions)

NAME
====
Expand Down
2 changes: 1 addition & 1 deletion dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ filename = lib/Chart/Gnuplot.pm6
; match = ^ 'xt/'

[Badges]
provider = travis-ci.com
provider = github-actions/test

0 comments on commit 18cd3ca

Please sign in to comment.