Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit b79faa2

Browse files
committed
GitHub Actions
1 parent c5d2003 commit b79faa2

File tree

4 files changed

+49
-39
lines changed

4 files changed

+49
-39
lines changed

.github/workflows/ci.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: ci
2+
on:
3+
- pull_request
4+
- push
5+
6+
jobs:
7+
Test:
8+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
9+
runs-on: ${{ matrix.os }}
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
os:
14+
- ubuntu-latest
15+
- macos-latest
16+
- windows-latest
17+
atom_channel:
18+
- stable
19+
- nightly
20+
steps:
21+
- uses: actions/checkout@v2
22+
- name: Cache
23+
uses: actions/cache@v2
24+
with:
25+
path: |
26+
'node_modules'
27+
key: ${{ runner.os }}-${{ matrix.atom_channel }}-${{ hashFiles('package.json') }}
28+
29+
- uses: UziTech/action-setup-atom@v1
30+
with:
31+
channel: ${{ matrix.atom_channel }}
32+
33+
- name: Install dependencies
34+
run: apm install
35+
36+
- name: Run tests
37+
run: apm test
38+
39+
Skip:
40+
if: contains(github.event.head_commit.message, '[skip ci]')
41+
runs-on: ubuntu-latest
42+
steps:
43+
- name: Skip CI 🚫
44+
run: echo skip ci

.travis.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# XML language support in Atom
2-
[![macOS Build Status](https://travis-ci.org/atom/language-xml.png?branch=master)](https://travis-ci.org/atom/language-xml)
3-
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/m5f6rn74a6h3q5uq/branch/master?svg=true)](https://ci.appveyor.com/project/Atom/language-xml/branch/master)
2+
![ci](https://github.com/atom/language-xml/workflows/ci/badge.svg)
43
[![Dependency Status](https://david-dm.org/atom/language-xml.svg)](https://david-dm.org/atom/language-xml)
54

65
Adds syntax highlighting and snippets to XML files in Atom.

appveyor.yml

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,6 @@
1-
version: "{build}"
2-
3-
platform: x64
1+
# empty appveyor
2+
build: off
43

54
branches:
6-
only:
7-
- master
8-
9-
clone_depth: 10
10-
11-
skip_tags: true
12-
13-
environment:
14-
APM_TEST_PACKAGES:
15-
16-
matrix:
17-
- ATOM_CHANNEL: stable
18-
- ATOM_CHANNEL: beta
19-
20-
install:
21-
- ps: Install-Product node 4
22-
23-
build_script:
24-
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/atom/ci/master/build-package.ps1'))
25-
26-
test: off
27-
deploy: off
5+
only:
6+
- non-existing

0 commit comments

Comments
 (0)