@@ -12,14 +12,25 @@ jobs:
|
||||
steps:
|
||||
- name: Show environment
|
||||
run: |
|
||||
echo "=== Workspace ==="
|
||||
pwd
|
||||
ls -la
|
||||
go version
|
||||
|
||||
echo
|
||||
echo "=== Environment Variables ==="
|
||||
env | sort
|
||||
|
||||
- name: Clone repository
|
||||
run: |
|
||||
git clone "$CI_REPOSITORY_URL" repo
|
||||
ls -la repo
|
||||
|
||||
- name: Download dependencies
|
||||
run: |
|
||||
cd repo
|
||||
go mod download
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
cd repo
|
||||
go test ./... -v
|
||||
Reference in New Issue
Block a user