Skip to content

Merge pull request #3 from nasty-project/iscsi-tailscale-timeout #91

Merge pull request #3 from nasty-project/iscsi-tailscale-timeout

Merge pull request #3 from nasty-project/iscsi-tailscale-timeout #91

Workflow file for this run

name: CSI Sanity Tests
on:
push:
branches: [ main, 'feature/enable-sanity-tests' ]
paths:
- 'pkg/**'
- 'cmd/**'
- 'tests/sanity/**'
- 'go.mod'
- 'go.sum'
- '.github/workflows/sanity.yml'
pull_request:
branches: [ main ]
paths:
- 'pkg/**'
- 'cmd/**'
- 'tests/sanity/**'
- 'go.mod'
- 'go.sum'
- '.github/workflows/sanity.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
sanity:
name: CSI Sanity Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v6
with:
repository: nasty-project/nasty-go
token: ${{ secrets.NASTY_PAT }}
path: nasty-go
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: true
- name: Download dependencies
run: go mod download
- name: Run CSI sanity tests
run: make test-sanity
- name: Run unit tests
run: make test-unit