@@ -1,4 +1,4 @@
|
||||
name: Go Tests
|
||||
name: Debug
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -10,27 +10,18 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Show environment
|
||||
- name: Show workspace
|
||||
run: |
|
||||
echo "=== Workspace ==="
|
||||
pwd
|
||||
ls -la
|
||||
|
||||
echo
|
||||
- name: Dump environment variables
|
||||
run: |
|
||||
echo "=== Environment Variables ==="
|
||||
env | sort
|
||||
|
||||
- name: Clone repository
|
||||
- name: Dump relevant variables only
|
||||
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
|
||||
echo "=== Repository-related Variables ==="
|
||||
env | grep -Ei 'gitea|github|repo|repository|workspace|ci'
|
||||
Reference in New Issue
Block a user