Skip to content

Commit

Permalink
docs: test coverage explorer (#196)
Browse files Browse the repository at this point in the history
* docs: ignore main example

* fix

* fixes

* fixes

* work

* update
  • Loading branch information
iuioiua authored Dec 20, 2024
1 parent d575a36 commit 4516e85
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 47 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@ name: CI

on:
push:
branches: [main]
branches: main
pull_request:
branches: [main]
branches: main

jobs:
ci:
runs-on: ubuntu-latest

permissions:
id-token: write # Needed for auth with Deno Deploy
contents: read # Needed to clone the repository

services:
redis:
image: redis
Expand All @@ -34,3 +38,13 @@ jobs:
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Build coverage explorer
run: deno coverage --html

- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: r2d2-coverage
entrypoint: jsr:@std/http/file-server
root: coverage/html
44 changes: 0 additions & 44 deletions .github/workflows/deploy.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![JSR](https://jsr.io/badges/@iuioiua/r2d2)](https://jsr.io/@iuioiua/r2d2)
[![CI](https://github.com/iuioiua/r2d2/actions/workflows/ci.yml/badge.svg)](https://github.com/iuioiua/r2d2/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/iuioiua/r2d2/branch/main/graph/badge.svg?token=8IDAVSL014)](https://codecov.io/gh/iuioiua/r2d2)
[![codecov](https://codecov.io/gh/iuioiua/r2d2/branch/main/graph/badge.svg?token=8IDAVSL014)](https://r2d2-coverage.deno.dev/)

Minimal [Redis](https://redis.io/) client for [Deno](https://deno.land/).

Expand Down

0 comments on commit 4516e85

Please sign in to comment.