diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..7e13eb7 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,47 @@ +on: + push: + branches: + - master + pull_request: + branches: + - master +env: + NODE_OPTIONS: --use-openssl-ca + +jobs: + test: + name: Test ${{ matrix.EMBER_TRY_SCENARIO }} + runs-on: ubuntu-20.04 + strategy: + fail-fast: false + matrix: + EMBER_TRY_SCENARIO: [default, ember-release, ember-beta, ember-canary] + + steps: + - name: Check out code + uses: actions/checkout@v4 + + - name: Add Chrome + uses: browser-actions/setup-chrome@v1 + with: + chrome-version: stable + install-chromedriver: true + install-dependencies: true + + - name: Install node + uses: actions/setup-node@v4 + with: + node-version: 8.9.4 + + - name: Setup + run: | + yarn global add ember-cli@2.13 + yarn global add bower + yarn install + bower install + + - name: Test + run: | + echo "These tests do not work at present due to outdated code" \ + "maybe try to fix them if you need to make changes in this repo?" + ember try ${{ matrix.EMBER_TRY_SCENARIO }} test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 70fe714..0000000 --- a/.travis.yml +++ /dev/null @@ -1,38 +0,0 @@ ---- -language: node_js -node_js: - - "8.9.4" -sudo: false - -cache: - yarn: true - directories: - - node_modules -addons: - apt: - sources: - - google-chrome - packages: - - google-chrome-stable -env: - - EMBER_TRY_SCENARIO=default - - EMBER_TRY_SCENARIO=ember-release - - EMBER_TRY_SCENARIO=ember-beta - - EMBER_TRY_SCENARIO=ember-canary - -matrix: - fast_finish: true - allow_failures: - - env: EMBER_TRY_SCENARIO=ember-release - - env: EMBER_TRY_SCENARIO=ember-canary - - env: EMBER_TRY_SCENARIO=ember-beta - -before_install: - - yarn add bower - -install: - - yarn install - - bower install - -script: - - ember try $EMBER_TRY_SCENARIO test