Skip to content

Feat/support k8s

Feat/support k8s #226

Workflow file for this run

name: test
on:
push:
branches:
- master
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20.9'
cache: true
- name: install deps
run: |
sudo apt-get update
sudo apt-get -o Acquire::Retries=3 install make gcc git curl wget -y
- name: Build
env:
GOPROXY: "https://proxy.golang.org,direct"
GO111MODULE: "on"
run: |
make build
- uses: docker-practice/actions-setup-docker@master
timeout-minutes: 12
- run: |
docker version
- name: Test
run: |
go test -coverpkg=./... -coverprofile=coverage.out -covermode=atomic -timeout=30m -parallel=4 -v ./...
- name: Upload
uses: codecov/codecov-action@v3
with:
token:
files: ./coverage.out
name: jzfs
fail_ci_if_error: true
verbose: true