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