Skip to content

Commit c5afb5e

Browse files
Merge pull request #22 from ba-st/move-to-github-actions
Move to GitHub actions
2 parents 6b3c8b6 + 2e99f70 commit c5afb5e

File tree

5 files changed

+56
-33
lines changed

5 files changed

+56
-33
lines changed

.github/workflows/build.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
smalltalk: [ Pharo64-8.0, Pharo64-7.0, Pharo32-7.0, Pharo32-6.1 ]
14+
name: ${{ matrix.smalltalk }}
15+
services:
16+
rabbitmq:
17+
image: rabbitmq:latest
18+
ports:
19+
- 5672:5672
20+
options: --health-cmd "rabbitmqctl node_health_check" --health-interval 10s --health-timeout 5s --health-retries 5
21+
steps:
22+
- uses: actions/checkout@v2
23+
- uses: ba-st-actions/setup-smalltalkCI@v1.0.0
24+
with:
25+
smalltalk-version: ${{ matrix.smalltalk }}
26+
- run: smalltalkci -s ${{ matrix.smalltalk }}
27+
timeout-minutes: 15
28+
- run: echo "::set-env name=SCI_COVERAGE_FILE_LOCATION::${HOME}/.smalltalkCI/_builds/coveralls_results.json"
29+
- name: Upload coverage to Codecov
30+
uses: codecov/codecov-action@v1.0.6
31+
with:
32+
token: ${{ secrets.CODECOV_TOKEN }}
33+
file: ${{ env.SCI_COVERAGE_FILE_LOCATION }}

.github/workflows/notify.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Release Notifications
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
notify:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Notify about a new release
12+
uses: ba-st-actions/email-release-notification@v3.1.1
13+
env:
14+
SENDGRID_API_TOKEN: ${{ secrets.SENDGRID_API_TOKEN }}
15+
RECIPIENTS_URL: ${{ secrets.RECIPIENTS_URL }}
16+
DISTRIBUTION_LISTS: ${{ secrets.DISTRIBUTION_LISTS }}
17+
SENDER_EMAIL: ${{ secrets.SENDER_EMAIL }}

.smalltalk.ston

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SmalltalkCISpec {
99
],
1010
#testing : {
1111
#coverage : {
12-
#packages : [ 'AMQP*' ]
12+
#packages : [ 'Amqp*' ]
1313
}
1414
}
1515
}

.travis.yml

-30
This file was deleted.

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@
1313
</p>
1414

1515
[![GitHub release](https://img.shields.io/github/release/ba-st/Ansible.svg)](https://github.com/ba-st/Ansible/releases/latest)
16-
[![Build Status](https://travis-ci.com/ba-st/Ansible.svg?branch=release-candidate)](https://travis-ci.com/ba-st/Ansible)
17-
[![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)
16+
[![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)
17+
[![Coverage Status](https://codecov.io/gh/ba-st/Ansible/coverage.svg?branch=release-candidate)](https://coveralls.io/github/ba-st/Ansible?branch=release-candidate)
18+
[![Pharo 6.1](https://img.shields.io/badge/Pharo-6.1-informational)](https://pharo.org)
19+
[![Pharo 7.0](https://img.shields.io/badge/Pharo-7.0-informational)](https://pharo.org)
20+
[![Pharo 8.0](https://img.shields.io/badge/Pharo-8.0-informational)](https://pharo.org)
1821

1922
>*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.*
2023

0 commit comments

Comments
 (0)