From ec02c948df9c4898911165c061ffa41bc4df4440 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Fri, 11 Aug 2023 17:21:19 -0700 Subject: [PATCH] Setup GitHub Actions --- .github/workflows/test.yml | 13 +++++++++++++ .travis.yml | 23 ----------------------- appveyor.yml | 14 -------------- 3 files changed, 13 insertions(+), 37 deletions(-) create mode 100644 .github/workflows/test.yml delete mode 100644 .travis.yml delete mode 100644 appveyor.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..db1d488 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,13 @@ +name: Test + +on: [push, pull_request] + +jobs: + run-tests: + strategy: + fail-fast: false + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: SublimeText/UnitTesting/actions/setup@v1 + - uses: SublimeText/UnitTesting/actions/run-tests@v1 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 6fee88a..0000000 --- a/.travis.yml +++ /dev/null @@ -1,23 +0,0 @@ -env: - global: - - PACKAGE="Wrap Plus" - - SUBLIME_TEXT_VERSION="3" - -os: - - linux - - osx - -before_install: - - curl -OL https://raw.githubusercontent.com/SublimeText/UnitTesting/master/sbin/travis.sh - # enable gui, see https://docs.travis-ci.com/user/gui-and-headless-browsers - - if [ "$TRAVIS_OS_NAME" == "linux" ]; then - export DISPLAY=:99.0; - sh -e /etc/init.d/xvfb start; - fi - -install: - # Install Sublime and Sublime Unittesting. - - sh travis.sh bootstrap - -script: - - sh travis.sh run_tests diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index d662f1b..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,14 +0,0 @@ -environment: - global: - PACKAGE: "Wrap Plus" - SUBLIME_TEXT_VERSION: "3" - -install: - - ps: appveyor DownloadFile "https://raw.githubusercontent.com/SublimeText/UnitTesting/master/sbin/appveyor.ps1" - # Install Sublime and Sublime Unittesting. - - ps: .\appveyor.ps1 "bootstrap" -verbose - -build: off - -test_script: - - ps: .\appveyor.ps1 "run_tests" -verbose