Skip to content

Commit

Permalink
Merge pull request #22 from ba-st/move-to-github-actions
Browse files Browse the repository at this point in the history
Move to GitHub actions
  • Loading branch information
fortizpenaloza authored May 6, 2020
2 parents 6b3c8b6 + 2e99f70 commit c5afb5e
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 33 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build

on:
pull_request:
push:


jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
smalltalk: [ Pharo64-8.0, Pharo64-7.0, Pharo32-7.0, Pharo32-6.1 ]
name: ${{ matrix.smalltalk }}
services:
rabbitmq:
image: rabbitmq:latest
ports:
- 5672:5672
options: --health-cmd "rabbitmqctl node_health_check" --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v2
- uses: ba-st-actions/setup-smalltalkCI@v1.0.0
with:
smalltalk-version: ${{ matrix.smalltalk }}
- run: smalltalkci -s ${{ matrix.smalltalk }}
timeout-minutes: 15
- run: echo "::set-env name=SCI_COVERAGE_FILE_LOCATION::${HOME}/.smalltalkCI/_builds/coveralls_results.json"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1.0.6
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ${{ env.SCI_COVERAGE_FILE_LOCATION }}
17 changes: 17 additions & 0 deletions .github/workflows/notify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Release Notifications

on:
release:
types: [published]

jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Notify about a new release
uses: ba-st-actions/email-release-notification@v3.1.1
env:
SENDGRID_API_TOKEN: ${{ secrets.SENDGRID_API_TOKEN }}
RECIPIENTS_URL: ${{ secrets.RECIPIENTS_URL }}
DISTRIBUTION_LISTS: ${{ secrets.DISTRIBUTION_LISTS }}
SENDER_EMAIL: ${{ secrets.SENDER_EMAIL }}
2 changes: 1 addition & 1 deletion .smalltalk.ston
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SmalltalkCISpec {
],
#testing : {
#coverage : {
#packages : [ 'AMQP*' ]
#packages : [ 'Amqp*' ]
}
}
}
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@
</p>

[![GitHub release](https://img.shields.io/github/release/ba-st/Ansible.svg)](https://github.com/ba-st/Ansible/releases/latest)
[![Build Status](https://travis-ci.com/ba-st/Ansible.svg?branch=release-candidate)](https://travis-ci.com/ba-st/Ansible)
[![Coverage Status](https://coveralls.io/repos/github/ba-st/Ansible/badge.svg?branch=release-candidate)](https://coveralls.io/github/ba-st/Ansible?branch=release-candidate)
[![Build Status](https://github.com/ba-st/Ansible/workflows/Build/badge.svg?branch=release-candidate)](https://github.com/ba-st/Ansible/actions?query=workflow%3ABuild)
[![Coverage Status](https://codecov.io/gh/ba-st/Ansible/coverage.svg?branch=release-candidate)](https://coveralls.io/github/ba-st/Ansible?branch=release-candidate)
[![Pharo 6.1](https://img.shields.io/badge/Pharo-6.1-informational)](https://pharo.org)
[![Pharo 7.0](https://img.shields.io/badge/Pharo-7.0-informational)](https://pharo.org)
[![Pharo 8.0](https://img.shields.io/badge/Pharo-8.0-informational)](https://pharo.org)

>*An [ansible](https://en.wikipedia.org/wiki/Ansible) is a fictional device capable of near-instantaneus communication. It can send and receive message to and from a corresponding device over any distance or obstable whatsover with no delay even betwenn star systems.*
Expand Down

0 comments on commit c5afb5e

Please sign in to comment.