Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetBSD unit test #106

Merged
merged 5 commits into from
Sep 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/sample/netbsd.yml → .github/workflows/netbsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
memory: 5G
cpu_count: 4
run: |
sudo pkgin -y install go
sudo pkgin -y install go mozilla-rootcerts
sudo /usr/pkg/sbin/mozilla-rootcerts install
/usr/pkg/go120/bin/go mod download
/usr/pkg/go120/bin/go test -race -v ./...
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
[![LinuxUnitTest](https://github.com/nao1215/gup/actions/workflows/linux_test.yml/badge.svg)](https://github.com/nao1215/gup/actions/workflows/linux_test.yml)
[![FreeBSDTest](https://github.com/nao1215/gup/actions/workflows/freebsd.yml/badge.svg)](https://github.com/nao1215/gup/actions/workflows/freebsd.yml)
[![OpenBSDTest](https://github.com/nao1215/gup/actions/workflows/openbsd.yml/badge.svg)](https://github.com/nao1215/gup/actions/workflows/openbsd.yml)
[![NetBSDTest](https://github.com/nao1215/gup/actions/workflows/netbsd.yml/badge.svg)](https://github.com/nao1215/gup/actions/workflows/netbsd.yml)
[![DragonflyBSDTest](https://github.com/nao1215/gup/actions/workflows/dragonfly.yml/badge.svg)](https://github.com/nao1215/gup/actions/workflows/dragonfly.yml)
[![reviewdog](https://github.com/nao1215/gup/actions/workflows/reviewdog.yml/badge.svg)](https://github.com/nao1215/gup/actions/workflows/reviewdog.yml)
![Coverage](https://raw.githubusercontent.com/nao1215/octocovs-central-repo/main/badges/nao1215/gup/coverage.svg)
Expand All @@ -30,10 +31,9 @@ If you are using oh-my-zsh, then gup has an alias set up. The alias is `gup - gi
- Windows
- FreeBSD
- OpenBSD
- NetBSD
- DragonflyBSD

The gup command may work in a NetBSD environment, but we have not been able to run Unit Test with GitHub Actions. Therefore, it is removed from the supported operating systems.

## How to install
### Use "go install"
If you does not have the golang development environment installed on your system, please install golang from the [golang official website](https://go.dev/doc/install).
Expand Down