Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/k2tzumi/how-to-measure-api-test-coverage
https://github.com/k2tzumi/how-to-measure-api-test-coverage
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/k2tzumi/how-to-measure-api-test-coverage
- Owner: k2tzumi
- License: mit
- Created: 2024-02-03T06:45:08.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-09T06:03:04.000Z (10 months ago)
- Last Synced: 2024-10-15T00:05:00.972Z (2 months ago)
- Language: CSS
- Homepage: https://k2tzumi.github.io/how-to-measure-api-test-coverage
- Size: 1.11 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/k2tzumi/how-to-measure-api-test-coverage)
# Welcome to [Slidev](https://github.com/slidevjs/slidev)!
To start the slide show:
- `npm install`
- `npm run dev`
- visit http://localhost:3030Edit the [slides.md](./slides.md) to see the changes.
Learn more about Slidev on [documentations](https://sli.dev/).
## How to publish to GitHub Pages
This repository extends Slidev's Init Project with the following features:
* Installation of several Slidev Addons
* Lint and build-time validation
* Version management using [tagpr](https://github.com/Songmu/tagpr)
* Release management synchronized with version (PDF generation)
* Publishing to GitHub Pages (OGP, Google tag support)Publishing to GitHub Pages is done via Github Actions, but some repository settings are required in advance.
Please follow the steps below.
1. Enable GitHub Pages
Select GitHub Actions as the source
After selection, `github-pages` will be added to Environments.
1. Set `Deployment branches and tags` for `github-pages` in Environments
Add `tagpr-from-*` to the branch from `Add deployment branch or tag rule`.
1. Change the permissions of GitHub Actions to enable tagpr execution
Change `Workflow permissions` to `Read and write permissions`, check `Allow GitHub Actions to create and approve pull requests`, and save.
1. Set the Google tag ID in the Repository secrets of GitHub Actions (optional)
Register a secret named `GA_TRACKING_ID` in `Repository secrets`.Publishing to GitHub Pages is linked to the release branch of tagpr when it is merged.