Skip to content

Commit

Permalink
fix: Add more space for ubuntu image. Check size after installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Matovidlo committed Dec 10, 2024
1 parent aed6c46 commit 1a95eaa
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 4 deletions.
30 changes: 27 additions & 3 deletions .github/workflows/test-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ jobs:
android: true
dotnet: true
haskell: true
large-packages: false
docker-images: false
large-packages: true
docker-images: true
swap-storage: false

# To free up disk space to not run out during the run
# To free up disk space to not run out during the run
- name: Delete unused SDKs MacOS
if: matrix.name == 'mac-os'
run: |
Expand All @@ -75,6 +75,14 @@ jobs:
without-cache: ${{ inputs.without-cache }}
cache-s3-bucket: ${{ vars.CACHE_S3_BUCKET }}

- name: Check how much space is left after go setup
if: matrix.name == 'linux'
shell: bash
run: |
echo "AFTER GO SETUP:"
df -h /
df -a /
- name: Set TEST_KBC_PROJECTS_FILE entries
uses: ./.github/actions/export-kbc-projects
with:
Expand All @@ -87,6 +95,14 @@ jobs:
docker compose run -d --rm --publish 2379:2379 etcd
sudo echo "127.0.0.1 etcd" | sudo tee -a /etc/hosts
- name: Check how much space is left after etcd setup
if: matrix.name == 'linux'
shell: bash
run: |
echo "AFTER ETCD SETUP:"
df -h /
df -a /
- name: Run tests
shell: bash
run: |
Expand Down Expand Up @@ -128,3 +144,11 @@ jobs:
TEST_KBC_PROJECTS_FILE: '${{ github.workspace }}/${{ vars.TEST_KBC_PROJECTS_FILE }}'
UNIT_ETCD_ENABLED: ${{ matrix.name == 'linux' && 'true' || 'false' }}

- name: Check how much space is left after unit test
if: matrix.name == 'linux'
shell: bash
run: |
echo "AFTER UNIT TEST:"
df -h /
df -a /
1 change: 0 additions & 1 deletion test/stream/bridge/keboola/keboola_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import (
)

// To see details run: TEST_VERBOSE=true go test ./test/stream/bridge/... -v

Check failure on line 27 in test/stream/bridge/keboola/keboola_test.go

View workflow job for this annotation

GitHub Actions / Lint / lint

Comment should end in a period (godot)

func TestKeboolaBridgeWorkflow(t *testing.T) {
t.Parallel()

Expand Down

0 comments on commit 1a95eaa

Please sign in to comment.