From 411fc759c0cf1d80f8093dcd82e1c42402e92a23 Mon Sep 17 00:00:00 2001 From: mattRedBox Date: Thu, 25 Nov 2021 14:52:26 +1000 Subject: [PATCH] Fix README.md format for badges. Remove appveyor as CI (all in github actions). --- README.md | 9 ++-- appveyor.yml | 104 --------------------------------------------- test/postreport.js | 4 +- 3 files changed, 5 insertions(+), 112 deletions(-) delete mode 100644 appveyor.yml diff --git a/README.md b/README.md index b708102b6..319bff4e4 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,8 @@ [![GitHub package version](https://img.shields.io/github/package-json/v/qcif/data-curator.svg)](https://github.com/qcif/data-curator/releases) [![JavaScript Style Guide](https://img.shields.io/badge/js_code_style-standard-brightgreen.svg)](https://standardjs.com) [![vue-recommended-style](https://img.shields.io/badge/vue_code_style-recommended-brightgreen.svg?style=flat)](https://vuejs.org/v2/style-guide/#Priority-C-Recommended) -[![Appveyor Build status](https://ci.appveyor.com/api/projects/status/fahwo5shvb6jl9ux/branch/develop?svg=true)](https://ci.appveyor.com/projects) [![Github workflow status](https://github.com/qcif/data-curator/actions/workflows/main.yml/badge.svg?branch=develop)](https://github.com/qcif/data-curator/actions) -[![Appveyor Acceptance Test status](https://img.shields.io/badge/acceptance%20tests-✔passed:%2084%20%20❌failed:%200%20%20❗undefined:%200-orange.svg)](https://ci.appveyor.com/project/qcif/data-curator) -actions) +[![Acceptance Test status](https://img.shields.io/badge/acceptance%20tests-✔passed:%2084%20%20❌failed:%200%20%20❗undefined:%200-orange.svg)](https://github.com/qcif/data-curator) @@ -28,7 +26,7 @@ actions) -[![Unit Test Coverage Status](https://coveralls.io/repos/github/qcif/data-curator/badge.svg?branch=windows)](https://coveralls.io/github/qcif/data-curator?branch=windows) +[![Unit test Coverage Status](https://coveralls.io/repos/github/qcif/data-curator/badge.svg?branch=develop)](https://coveralls.io/github/qcif/data-curator?branch=develop) [![Github All Releases](https://img.shields.io/github/downloads/qcif/data-curator/total.svg)](https://github.com/qcif/data-curator/releases) [![Github Releases](https://img.shields.io/github/downloads/qcif/data-curator/v1.2.5/total.svg?label=Latest%20version%20downloads)](https://github.com/qcif/data-curator/releases/latest) @@ -224,8 +222,7 @@ For unit testing, we use: ### Continuous integration For continuous integration, we use: -- [Appveyor](https://www.appveyor.com) (Unit tests only) -- [Github Actions](https://docs.github.com/en/actions) (This allows us to checkout CI against os-specific branches to run tests against each OS) +- [Github Actions](https://docs.github.com/en/actions) We plan to integrate the acceptance and unit tests with code commits diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 643aef439..000000000 --- a/appveyor.yml +++ /dev/null @@ -1,104 +0,0 @@ -version: 1.29.{build} - -# skip_non_tags: true - -platform: - - x64 - -#cache: -# - node_modules -# - '%APPDATA%\npm-cache' -# - '%USERPROFILE%\.electron' -# - '%USERPROFILE%\AppData\Local\Yarn\cache' - -environment: - nodejs_version: "14" - GH_TOKEN: - secure: Q1ftys9k/3coh0FW7NOVO0ybP/tcOq4t/FSAvitc9pUmpPDIGENyd0ezI5WlXkGZ - COVERALLS_REPO_TOKEN: - secure: faAiDKB0AuOoVTQrRYs/91SSOM0fgPTc13Sz/Oiu6CniFpShg/8a2+hZ2inzMFde - matrix: - - job_name: Windows build - job_group: OS_job - appveyor_build_worker_image: Visual Studio 2017 - - job_name: Linux build - appveyor_build_worker_image: Ubuntu1804 - job_group: OS_job - - job_name: Macosx build - appveyor_build_worker_image: macOS-BigSur - job_group: OS_job - -## for linux and osx -stack: node $nodejs_version - -skip_commits: - message: /^appveyor Updating branch from appveyor build.$/ - -## forget DRY for appveyor for now to make config easier to copy/move for other devs. -for: -- - matrix: - only: - - job_name: Windows build - branches: - except: - - /^v\d+\.\d+(\.\d+)?(-\S*)?$/ - init: - - git config --global core.autocrlf input - install: - - ps: Install-Product node $env:nodejs_version $env:plat - - choco upgrade yarn - - git reset --hard HEAD - - yarn - - node --version - - yarn autoclean --force - - yarn run clean - before_test: - - yarn run lint - test_script: - - yarn run unit - build: off - deploy: off - configuration: Test -- - matrix: - only: - - job_name: Linux build - branches: - except: - - /^v\d+\.\d+(\.\d+)?(-\S*)?$/ - install: - - yarn - - node --version - - yarn autoclean --force - - yarn run clean - build_script: - - chmod +x ./scripts/*.sh - - ./scripts/linux_install_os_dependencies_for_testing_on_ubuntu.sh - - . ./scripts/linux_headless_xvfb_init.sh - before_test: - - yarn run lint - test_script: - - yarn run unit - deploy: off - configuration: Test -- - matrix: - only: - - job_name: Macosx build - branches: - except: - - /^v\d+\.\d+(\.\d+)?(-\S*)?$/ - install: - - brew update && brew install yarn - - yarn - - node --version - - yarn autoclean --force - - yarn run clean - before_test: - - yarn run lint - test_script: - - yarn run unit - build: off - deploy: off - configuration: Test diff --git a/test/postreport.js b/test/postreport.js index 65c8360fa..c170de295 100755 --- a/test/postreport.js +++ b/test/postreport.js @@ -66,8 +66,8 @@ function createAcceptanceTestBadge (scenarioTallies) { '%20%20❌failed:%20' + scenarioTallies.failures + '%20%20❗undefined:%20' + scenarioTallies.warnings + '-orange.svg' - var linkUrl = 'https://ci.appveyor.com/project/qcif/data-curator' - var altText = 'Appveyor Acceptance Test status' + var linkUrl = 'https://github.com/qcif/data-curator' + var altText = 'Acceptance Test status' var badge = badger.addBadge(readme, 'md', imageUrl, linkUrl, altText)