Skip to content

Add a test case for image titles. #17

Add a test case for image titles.

Add a test case for image titles. #17

Workflow file for this run

name: Test
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
if:
github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=
github.repository
strategy:
fail-fast: false
matrix:
go-version: [1.18.x, 1.19.x, 1.20.x]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Run tests
run: go test -race -v ./... -coverprofile=coverage.out -covermode=atomic -coverpkg=./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3