diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..da0c0d45 --- /dev/null +++ b/.github/workflows/build.yml @@ -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 }} diff --git a/.github/workflows/notify.yml b/.github/workflows/notify.yml new file mode 100644 index 00000000..b4543c27 --- /dev/null +++ b/.github/workflows/notify.yml @@ -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 }} diff --git a/.smalltalk.ston b/.smalltalk.ston index 9272e435..d9203b34 100644 --- a/.smalltalk.ston +++ b/.smalltalk.ston @@ -9,7 +9,7 @@ SmalltalkCISpec { ], #testing : { #coverage : { - #packages : [ 'AMQP*' ] + #packages : [ 'Amqp*' ] } } } diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 739619ab..00000000 --- a/.travis.yml +++ /dev/null @@ -1,30 +0,0 @@ -language: smalltalk - -sudo: required - -services: - - docker - -before_script: - - docker pull rabbitmq:3 - - docker run -d --name rabbit-tests -p5672:5672 rabbitmq:3 - - docker ps -a - - sleep 10 - -after_failure: - - docker inspect --format='{{.LogPath}}' rabbit-tests | sudo xargs cat - -os: - - linux - -smalltalk: - - Pharo32-7.0 - - Pharo64-7.0 - - Pharo32-8.0 - - Pharo64-8.0 - -matrix: - allow_failures: - - smalltalk: Pharo32-8.0 - - smalltalk: Pharo64-8.0 - fash_finish: true diff --git a/README.md b/README.md index 9eb4e183..5f22b4e4 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,11 @@

[![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.*