Skip to content

Commit

Permalink
Merge pull request #64 from lrascao/feature/github_ci
Browse files Browse the repository at this point in the history
Switch from Travis to Github actions
  • Loading branch information
lrascao authored Jul 11, 2024
2 parents bf5c1ff + cf8de4a commit 8b7630c
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Erlang CI

on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]

jobs:
build:
runs-on: ubuntu-latest
container:
image: erlang:22.0.7

steps:
- uses: actions/checkout@v2
- name: Compile
run: make compile
- name: Run tests
run: make ci

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ endif

.PHONY: all compile clean dialyzer test

travis: update test dialyzer
ci: update test dialyzer

all: deps compile

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
rebar3 appup plugin
=====

[![Build Status](https://travis-ci.org/lrascao/rebar3_appup_plugin.svg?branch=develop)](https://travis-ci.org/lrascao/rebar3_appup_plugin)
[![Build Status](https://github.com/lrascao/rebar3_appup_plugin/workflows/ci/badge.svg)](https://github.com/lrascao/rebar3_appup_plugin/workflows/ci)
[![hex.pm version](https://img.shields.io/hexpm/v/rebar3_appup_plugin.svg)](https://hex.pm/packages/rebar3_appup_plugin)
[![gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/rebar3-appup-plugin/Lobby?utm_source=share-link&utm_medium=link&utm_campaign=share-link)

Expand Down
2 changes: 1 addition & 1 deletion test/rebar3_appup_plugin_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ init_per_suite(Config) ->
Apps = proplists:get_value(apps, SuiteConfig),
lists:foreach(fun({App, GitUrl, Branch}) ->
git_clone(App, GitUrl, Branch, DataDir),
{ok, _} = sh(io_lib:format("rsync -a --exclude='_build' ~s .",
{ok, _} = sh(io_lib:format("/sbin/rsync -a --exclude='_build' ~s .",
[SrcDir]),
[], DataDir),
RelDir = filename:join([DataDir, App]),
Expand Down

0 comments on commit 8b7630c

Please sign in to comment.