Skip to content

Commit

Permalink
📌 Merge pull request #94 from numaru/release/1.9.0
Browse files Browse the repository at this point in the history
Release/1.9.0
  • Loading branch information
numaru authored Apr 3, 2022
2 parents 9a3534d + 83d1bd3 commit acab635
Show file tree
Hide file tree
Showing 15 changed files with 3,199 additions and 1,626 deletions.
73 changes: 73 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: Continuous Delivery

on:
push:
tags:
- v*

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 10.x

- name: Install the package
run: npm install

- name: Run the tests
run: xvfb-run -a npm test

- name: Package the extension
if: success()
run: npm run package

- name: Get the version from the tag
id: tag_name
run: echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}
shell: bash

- name: Get the changelog entry
id: changelog_reader
if: success()
uses: mindsers/changelog-reader-action@v2
with:
validation_depth: 1
version: ${{ steps.tag_name.outputs.current_version }}
path: ./CHANGELOG.md

- name: Create a release
id: create_release
if: success()
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.changelog_reader.outputs.version }}
release_name: Release ${{ steps.changelog_reader.outputs.version }}
body: ${{ steps.changelog_reader.outputs.changes }}
prerelease: ${{ steps.changelog_reader.outputs.status == 'prereleased' }}
draft: ${{ steps.changelog_reader.outputs.status == 'unreleased' }}

- name: Upload the release asset
id: upload_release_asset
if: success()
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./vscode-ceedling-test-adapter-${{ steps.tag_name.outputs.current_version }}.vsix
asset_name: vscode-ceedling-test-adapter-${{ steps.tag_name.outputs.current_version }}.vsix
asset_content_type: application/octet-stream

- name: Publish to the marketplace
if: success()
run: npm run publish
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Continuous Integration

on:
push:
branches:
- master
pull_request:
branches:
- master
- develop

jobs:
build:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 10.x

- name: Install the package
run: npm install

- name: Run the tests
if: runner.os == 'Linux'
run: xvfb-run -a npm test

- name: Run the tests
if: runner.os != 'Linux'
run: npm test
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
node_modules/
out/
.vscode-test/
**/*.vsix
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/out"
"${workspaceFolder}/out/src"
]
}
]
Expand Down
5 changes: 5 additions & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
src/**
tests/**
**/*.map
**/*.vsix
package-lock.json
tsconfig.json
test.tsconfig.json
.vscode/**
.vscode-test/**
.github/**
.gitignore
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [1.9.0] - 2022-04-03

### Added

* A configurable aliases for the parameterized test macros `TEST_CASE` and `TEST_RANGE`.

## [1.8.2] - 2021-04-21

### Fixed
Expand Down Expand Up @@ -140,7 +146,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

* Initial features

[Unreleased]: https://github.com/numaru/vscode-ceedling-test-adapter/compare/v1.8.2...develop
[Unreleased]: https://github.com/numaru/vscode-ceedling-test-adapter/compare/v1.9.0...develop
[1.9.0]: https://github.com/numaru/vscode-ceedling-test-adapter/compare/v1.8.2...v1.9.0
[1.8.2]: https://github.com/numaru/vscode-ceedling-test-adapter/compare/v1.8.1...v1.8.2
[1.8.1]: https://github.com/numaru/vscode-ceedling-test-adapter/compare/v1.8.0...v1.8.1
[1.8.0]: https://github.com/numaru/vscode-ceedling-test-adapter/compare/v1.7.0...v1.8.0
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ Property | Description
`ceedlingExplorer.prettyTestFileLabel` | The test file label is prettier in the test explorer, that mean the label is shorter, without begin prefix, path and file type. E.g. inactive `test/LEDs/test_BlinkTask.c`, active `BlinkTask` <br> Inactive: <br> ![prettyTestFileLabelInactive](img/prettyTestFileLabelInactive.png) <br> Active: <br> ![prettyTestFileLabelActive](img/prettyTestFileLabelActive.png)
`ceedlingExplorer.testCommandArgs` | The command line arguments used to run Ceedling tests. The first argument have to litteraly contain the `${TEST_ID}` tag. The value `["test:${TEST_ID}"]` is used by default. For example, the arguments `"test:${TEST_ID}", "gcov:${TEST_ID}", "utils:gcov"` can be used to run tests and generate a gcov report.
`ceedlingExplorer.problemMatching` | Configuration of compiler/linker problem matching. See [Problem matching](#problem%20matching) section for details.
`ceedlingExplorer.testCaseMacroAliases` | An array of aliases for the `TEST_CASE` macro. By default it is `["TEST_CASE"]`
`ceedlingExplorer.testRangeMacroAliases`| An array of aliases for the `TEST_RANGE` macro. By default it is `["TEST_RANGE"]`
<br>

### Problem matching
Expand Down
Loading

0 comments on commit acab635

Please sign in to comment.