Skip to content

Commit b4a2003

Browse files
jviottiRelequestual
authored andcommitted
Replace defunct Travis CI integration with GitHub Actions
The GitHub Actions setup is equivalent to the Travis CI configuration with two differences: - The GitHub Action setup does not set the `TAG` environment variable, as it didn't seem like `xml2rfc` would consume that at all (unless I'm missing something) - The GitHub Action preserves the spec output (txt and html) as artifacts that can be downloaded after a successful run (to see the changes without having to locally render the specs) Fixes: #1262 Signed-off-by: Juan Cruz Viotti <[email protected]>
1 parent 1c3dc8c commit b4a2003

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: JSON Schema
2+
on:
3+
- push
4+
jobs:
5+
specs:
6+
runs-on: ubuntu-22.04
7+
steps:
8+
- uses: actions/checkout@v3
9+
- run: pip install --requirement requirements.txt
10+
- run: xml2rfc --version
11+
- run: make all
12+
- uses: actions/upload-artifact@v2
13+
with:
14+
path: *.(html|txt)

.travis.yml

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

0 commit comments

Comments
 (0)