From ad41c5b1188a39177816263e6f915ac9df5b5178 Mon Sep 17 00:00:00 2001 From: darangi Date: Mon, 26 Apr 2021 21:57:45 +0100 Subject: [PATCH] setup GH actions --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ .travis.yml | 21 --------------------- appveyor.yml | 27 --------------------------- 3 files changed, 23 insertions(+), 48 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml delete mode 100644 appveyor.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..ab77c1f1 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: CI + +on: [push] + +env: + CI: true + +jobs: + Test: + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + channel: [stable, beta] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v1 + - uses: UziTech/action-setup-atom@v2 + with: + version: ${{ matrix.channel }} + - name: Install dependencies + run: apm install + - name: Run tests + run: atom --test spec diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1abb557a..00000000 --- a/.travis.yml +++ /dev/null @@ -1,21 +0,0 @@ -language: objective-c - -notifications: - email: - on_success: never - on_failure: change - webhooks: - urls: - - https://webhooks.gitter.im/e/cc2592f750965c320c96 - on_success: change - on_failure: always - on_start: false - -script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh' - -git: - depth: 10 - -branches: - only: - - master diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 2b0fde43..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,27 +0,0 @@ -version: "{build}" - -platform: x64 - -branches: - only: - - master - -clone_depth: 10 - -skip_tags: true - -environment: - APM_TEST_PACKAGES: - - matrix: - - ATOM_CHANNEL: stable - - ATOM_CHANNEL: beta - -install: - - ps: Install-Product node 4 - -build_script: - - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/atom/ci/master/build-package.ps1')) - -test: off -deploy: off