GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — usage-telemetry-agent/scripts/test at main · PastureStack/usage-telemetry-agent

Expand file tree

/

test

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
executable file
·
22 lines (19 loc) · 806 Bytes
/

test

Copy path

File metadata and controls

executable file
·
22 lines (19 loc) · 806 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env bash
# PastureStack isolated unit, coverage, and race tests.
set -euo pipefail
repo_root="$(cd "$(dirname "$0")/.." && pwd)"
cd "${repo_root}"
source "${repo_root}/scripts/toolchain"
go_version="$(GOTOOLCHAIN=local go env GOVERSION)"
if [[ "${go_version}" != "go${GO_VERSION}" ]]; then
printf 'Go %s is required; found %s\n' "${GO_VERSION}" "${go_version}" >&2
exit 1
fi
python_version="$(python3 --version)"
if [[ "${python_version}" != "Python ${PYTHON_VERSION}" ]]; then
printf 'Python %s is required; found %s\n' "${PYTHON_VERSION}" "${python_version}" >&2
exit 1
fi
GOTOOLCHAIN=local CGO_ENABLED=0 go test -count=1 -cover ./...
GOTOOLCHAIN=local CGO_ENABLED=1 go test -count=1 -race ./...
PYTHONDONTWRITEBYTECODE=1 python3 -m unittest -v integration.test_fixture_api
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.