Skip to content

Release v2.0.5

Release v2.0.5 #318

Workflow file for this run

---
name: Test
on:
push:
branches:
- master
tags:
- "v*"
pull_request:
jobs:
test:
name: "Test & upload coverage"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "stable"
- name: Get external dependencies (Ubuntu)
run: sudo apt update && sudo apt -y install build-essential libvips-dev
- name: Migration test
run: go test -v -tags migrationtest ./...
- name: Run coverage
run: go test -race -coverprofile=coverage.txt -covermode=atomic -tags test ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}