Skip to content

Commit

Permalink
Added .github/ folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinKennedy committed Oct 20, 2023
1 parent 1a7c712 commit 2d0afcd
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report---general.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Bug report - General
about: Create a report to help us improve
title: "[BUG]"
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Clone '...'
2. Call '...' in the command-line
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Architecture**
- OS: [e.g. Linux]
- Tree-sitter Version: [e.g. 0.20.8]

**Additional context**
Add any other context about the problem here.
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report---parsing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
name: Bug report - Parsing
about: Describe an unexpected parsing issue
title: "[PARSE BUG]"
labels: bug
assignees: ''

---

# Summary
A clear and concise description of what the bug is.

# Details
## tree-sitter-cli
Given this Objdump file

<!-- Insert a Objdump file here or link to a GitHub gist example -->
`tree-sitter parse /the/file.usda`

### Expected Parse
<!-- Insert the text output that you expected here -->
```scm
(module
(...
(good_stuff ...)))
```

### Actual Parse
<!-- Insert what `tree-sitter parse` returned -->
```scm
(module
(...
(ERROR ...)))
```

## General
**Screenshots**
If applicable, add screenshots to help explain your problem.

**Architecture**
- OS: [e.g. Linux]
- Tree-sitter Version: [e.g. 0.20.8]

**Additional context**
Add any other context about the problem here.
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build/test
on:
push:
branches:
- master
pull_request:
branches:
- "**"

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
- run: npm install
- run: npm test

test_windows:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
- run: npm install
- run: npm run-script test-windows

0 comments on commit 2d0afcd

Please sign in to comment.