-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from nasa/release/1.2.0
Release/1.2.0
- Loading branch information
Showing
18 changed files
with
709 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: "[BUG]" | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
name: 🐞 Bug report | ||
description: Report a problem to help improve this project | ||
title: "[BUG] " | ||
labels: [bug, triage] | ||
body: | ||
- type: checkboxes | ||
attributes: | ||
label: Is there an existing issue for this? | ||
description: Please search to see if an issue already exists for the bug you encountered. | ||
options: | ||
- label: I have searched the existing issues | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Problem description | ||
description: | | ||
A concise description of what you're experiencing. | ||
|
||
Please explain: | ||
|
||
* **what** you tried to achieve, | ||
* **how** you went about it (referring to the code sample), and | ||
* **why** the current behavior is a problem and what output you expected instead. | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Code sample | ||
description: > | ||
Create a [minimal, complete, verifiable example](https://stackoverflow.com/help/mcve). | ||
Please, paste your code between the ``` tickmarks below or link to a [gist](https://gist.github.com/). | ||
value: | | ||
Code run: | ||
|
||
```python | ||
``` | ||
|
||
Traceback: | ||
|
||
```text | ||
``` | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
attributes: | ||
label: Anything else? | ||
description: | | ||
Links? References? Anything that will give us more context about the issue you are encountering! | ||
|
||
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: "[Feature]" | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
name: Feature request | ||
description: Suggest an idea for this project | ||
title: "[Feature] " | ||
labels: [enhancement] | ||
body: | ||
- type: checkboxes | ||
attributes: | ||
label: Checklist | ||
description: > | ||
Please make sure you check all these items before submitting your feature request. | ||
options: | ||
- label: There are [no similar issues or pull requests](https://github.com/nasa/ncompare/issues) for this yet. | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Problem | ||
description: > | ||
A clear and concise description of what you are trying to achieve. | ||
placeholder: > | ||
"I want to be able to [...] but I can't because [...]". | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Solution | ||
description: > | ||
A clear and concise description of what you would want to happen. | ||
For API changes, try to provide a code snippet of what you would like the new API to look like. | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Alternatives | ||
description: > | ||
Please describe any alternative solutions or features you've considered to solve | ||
your problem and why they didn't help. | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Anything else? | ||
description: > | ||
Provide any additional context, screenshots, tracebacks, etc. about the feature here. | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
name: Question | ||
about: Ask a question | ||
title: "[Question]" | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
name: Question | ||
description: Ask a question | ||
title: "[Question] " | ||
labels: [question] | ||
body: | ||
- type: checkboxes | ||
attributes: | ||
label: Checklist | ||
description: > | ||
To help keep this issue tracker clean and focused, please make sure that you have | ||
tried *all* of the following resources before submitting your question. | ||
options: | ||
- label: I looked for [similar issues](https://github.com/nasa/ncompare/issues). | ||
required: true | ||
- label: I looked up my question/problem in a search engine. | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Question | ||
description: Please ask your question | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
GitHub Issue: #NUM _(replace NUM with GitHub issue number)_ | ||
|
||
### Description | ||
|
||
A short description of the changes in this PR. | ||
|
||
### Local test steps | ||
|
||
_Summarize testing and verification you've done. This includes unit tests or testing with specific data_ | ||
|
||
### Overview of integration done | ||
|
||
_Explain how this change was integration tested. Provide screenshots or logs if appropriate. An example of this would be a local Harmony deployment._ | ||
|
||
## PR Acceptance Checklist | ||
* [ ] Unit tests added/updated and passing. | ||
* [ ] Integration testing | ||
* [ ] `CHANGELOG.md` updated | ||
* [ ] Documentation updated (if needed). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Receive PR | ||
|
||
# read-only repo token | ||
# no access to secrets | ||
on: | ||
pull_request: | ||
# Sequence of patterns matched against refs/heads | ||
branches: [ feature/**, issue/**, issues/** ] | ||
|
||
jobs: | ||
build_and_test: | ||
uses: ./.github/workflows/reusable_run_tests.yml |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# This workflow will install Python dependencies, run tests, | ||
# and report test results and code coverage as artifacts. It will | ||
# be called by the workflow that runs tests against new PRs and as | ||
# a first step in the workflow that publishes new Docker images. | ||
|
||
name: A reusable workflow to build and run the unit test suite | ||
|
||
on: | ||
workflow_call: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build_and_test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
|
||
- name: Set up Poetry | ||
uses: abatilo/[email protected] | ||
with: | ||
poetry-version: 1.3.2 | ||
|
||
- name: Install ncompare | ||
run: poetry install | ||
|
||
- name: Lint | ||
run: | | ||
poetry run ruff ncompare | ||
- name: Run tests with coverage | ||
run: | | ||
poetry run coverage run -m pytest >& test_results.txt | ||
- name: Generate coverage report | ||
if: ${{ always() }} | ||
run: | | ||
poetry run coverage report -m >& coverage_report.txt | ||
poetry run coverage html --dir htmlcov | ||
- name: Archive test results | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: test result | ||
path: test_results.txt | ||
|
||
- name: Archive code coverage report (plain text) | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: code coverage report (plain text) | ||
path: coverage_report.txt | ||
|
||
- name: Archive code coverage report (HTML) | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: code coverage report (HTML) | ||
path: htmlcov/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.