Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
SizaSL committed Aug 31, 2021
2 parents 4a2dd37 + 8d00a5d commit 97981aa
Show file tree
Hide file tree
Showing 21 changed files with 639 additions and 803 deletions.
32 changes: 0 additions & 32 deletions .appveyor.yml

This file was deleted.

5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
# Do not modify this!
/.github/**/* @mapek
/test/repo_scripts/* @mapek

#
* @mapek
150 changes: 150 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
name: Main

on:
push:
branches:
- master
pull_request:

jobs:
build-linux:
name: Test on Linux
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
VSCODE_VERSION: ['latest', '1.41.1']
experimental: [false]
include:
- VSCODE_VERSION: 'insiders'
experimental: true
continue-on-error: ${{ matrix.experimental }}

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'

- name: Install
run: npm install

- name: Audit
run: npm audit --production

- name: Compile
run: npm run compile

- name: Webpack
# test does not use it, but we are testing the webpack creation
run: |
npm run webpack
ls -all out/dist
- name: Test
run: |
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
sleep 3
npm test
env:
VSCODE_VERSION: latest
C2_DEBUG: true
DISPLAY: ':99.0'

build-windows:
name: Test on Windows
runs-on: windows-latest
#TODO: needs: build-linux # just to save some github minutes
strategy:
fail-fast: true
matrix:
VSCODE_VERSION: ['latest', '1.41.1']
experimental: [false]
include:
- VSCODE_VERSION: 'insiders'
experimental: true
continue-on-error: ${{ matrix.experimental }}

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'

- name: Install
run: npm install

- name: Add msbuild to PATH
uses: microsoft/[email protected]

- name: Test
run: npm test
env:
VSCODE_VERSION: latest
C2_DEBUG: true

build-mac:
name: Test on MacOS
runs-on: macos-latest
#TODO: needs: build-linux # just to save some github minutes
strategy:
fail-fast: true
matrix:
VSCODE_VERSION: ['latest', '1.41.1']
experimental: [false]
include:
- VSCODE_VERSION: 'insiders'
experimental: true
continue-on-error: ${{ matrix.experimental }}

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'

- name: Install
run: npm install

- name: Test
run: npm test

release:
name: Release
runs-on: ubuntu-latest
environment: Release
needs: [build-linux, build-mac, build-windows]
if: github.ref == 'refs/heads/master' && github.repository_owner == 'matepek'

steps:
- name: Checkout code
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'

- name: Install
run: npm install

- name: Compile
run: npm run compile

- name: Deploy
run: npm run deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
GITHUBM_API_KEY: ${{ secrets.GITHUBM_API_KEY }}
76 changes: 0 additions & 76 deletions .travis.yml

This file was deleted.

21 changes: 19 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,28 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

## [3.6.28]
## [3.6.31]

### Added

- (experimental) CppUTest Framework Support
(experimental) CppUTest Framework Support

## [3.6.30] - 2021-08-31

### Added

- activation event for `testing.__` vscode commands and view `workbench.view.testing`
With this `"testExplorer.useNativeTesting": true` has some support.

## [3.6.29] - 2021-08-29

### Fixed

- some GoogleTest and GoogleBenchmark related error handling issue

## [3.6.28] - 2021-08-29

Using GitHub actions for releases instead of TravisCI and AppVeyor

## [3.6.27] - 2021-08-09

Expand Down
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,8 @@ If you think your changes worth of a release add a new version entry to `CHANGEL
- doctest: supporting test suites
- Test cases: google test, catch2: info, warn, fail, stdout, stderr, capture, gtest_skip, gmock_verbose
- gaze is not good enough: detects change and delete, but not creation

## VSCE_PAT

- https://code.visualstudio.com/api/working-with-extensions/publishing-extension
- https://matepek.visualstudio.com/_usersSettings/tokens
Loading

0 comments on commit 97981aa

Please sign in to comment.