@ -0,0 +1,73 @@ | |||
--- | |||
name: Tests | |||
on: | |||
push: | |||
paths-ignore: | |||
- '**.md' | |||
- '**.png' | |||
pull_request: | |||
paths-ignore: | |||
- '**.md' | |||
- '**.png' | |||
schedule: | |||
- cron: '29 7 * * 1' | |||
jobs: | |||
test: | |||
runs-on: ubuntu-latest | |||
strategy: | |||
fail-fast: false | |||
matrix: | |||
version: | |||
- master | |||
- 5.8 | |||
- 5.7.1 | |||
- 5.7 | |||
- 5.6.2 | |||
- 5.6.1 | |||
- 5.6 | |||
- 5.5.1 | |||
- 5.5 | |||
- 5.4.2 | |||
- 5.4.1 | |||
- 5.4 | |||
- 5.3.1 | |||
- 5.3 | |||
- 5.2 | |||
- 5.1.1 | |||
- 5.1 | |||
- 5.0.8 | |||
- 5.0.7 | |||
- 5.0.6 | |||
- 5.0.5 | |||
- 5.0.4 | |||
- 5.0.3 | |||
- 5.0.2 | |||
- 5.0.1 | |||
- 5.0.0 | |||
- 4.3.17 | |||
- 4.3.16 | |||
- 4.3.15 | |||
- 4.3.14 | |||
- 4.3.13 | |||
- 4.3.12 | |||
- 4.3.11 | |||
container: | |||
image: zshusers/zsh:${{ matrix.version }} | |||
steps: | |||
- uses: actions/checkout@v2 | |||
- run: install_packages bsdmainutils make procps | |||
- run: make test | |||
notify: | |||
runs-on: ubuntu-latest | |||
needs: test | |||
if: failure() && (github.repository_owner == 'zsh-users') | |||
steps: | |||
- | |||
name: Notify IRC | |||
uses: Gottox/irc-message-action@v1 | |||
with: | |||
channel: '#zsh-syntax-highlighting' | |||
nickname: zsyh-gh-bot | |||
message: '${{ github.ref }} failed tests: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}' |
@ -1,56 +0,0 @@ | |||
language: generic | |||
sudo: required | |||
env: | |||
- ZSH=master | |||
- ZSH=5.8 | |||
- ZSH=5.7.1 | |||
- ZSH=5.7 | |||
- ZSH=5.6.2 | |||
- ZSH=5.6.1 | |||
- ZSH=5.6 | |||
- ZSH=5.5.1 | |||
- ZSH=5.5 | |||
- ZSH=5.4.2 | |||
- ZSH=5.4.1 | |||
- ZSH=5.4 | |||
- ZSH=5.3.1 | |||
- ZSH=5.3 | |||
- ZSH=5.2 | |||
- ZSH=5.1.1 | |||
- ZSH=5.1 | |||
- ZSH=5.0.8 | |||
- ZSH=5.0.7 | |||
- ZSH=5.0.6 | |||
- ZSH=5.0.5 | |||
- ZSH=5.0.4 | |||
- ZSH=5.0.3 | |||
- ZSH=5.0.2 | |||
- ZSH=5.0.1 | |||
- ZSH=5.0.0 | |||
- ZSH=4.3.17 | |||
- ZSH=4.3.16 | |||
- ZSH=4.3.15 | |||
- ZSH=4.3.14 | |||
- ZSH=4.3.13 | |||
- ZSH=4.3.12 | |||
- ZSH=4.3.11 | |||
script: docker run -v $PWD:/work -w /work zshusers/zsh:${ZSH} /bin/sh -c 'install_packages make procps bsdmainutils && make test' | |||
notifications: | |||
webhooks: | |||
urls: | |||
- https://webhooks.gitter.im/e/367e241cdea60cb2070b | |||
on_success: change | |||
on_failure: always | |||
on_start: never | |||
irc: | |||
channels: | |||
- "chat.freenode.net#zsh-syntax-highlighting" | |||
on_success: change | |||
on_failure: always | |||
on_start: never | |||
use_notice: true | |||
template: | |||
- "%{repository}/%{branch}#%{build_number}: %{message} Changes : %{compare_url} | Build : %{build_url}" |