Skip to content

Commit

Permalink
chore: ci fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vilsol committed Dec 21, 2023
1 parent a942a6b commit ad5ef75
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,16 @@ jobs:
if: ${{ matrix.os == 'ubuntu-latest' }}
run: ls -lR

- name: Change directory permissions
if: ${{ matrix.os == 'ubuntu-latest' }}
run: chmod -R 777 ${{ github.workspace }}/SatisfactoryDedicatedServer

- name: List directory (windows)
if: ${{ matrix.os == 'windows-latest' }}
run: tree /F

- name: Boot ftp and sftp
if: ${{ matrix.os == 'ubuntu-latest' }}
run: docker-compose -f docker-compose-test.yml up -d

- name: Download GQL schema
Expand Down
11 changes: 11 additions & 0 deletions cli/installations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package cli

import (
"os"
"runtime"
"testing"

"github.com/MarvinJWendt/testza"
Expand Down Expand Up @@ -56,6 +57,11 @@ func TestAddLocalInstallation(t *testing.T) {
}

func TestAddFTPInstallation(t *testing.T) {
if runtime.GOOS == "windows" {
// Not supported
return
}

ctx, err := InitCLI(false)
testza.AssertNoError(t, err)

Expand Down Expand Up @@ -92,6 +98,11 @@ func TestAddFTPInstallation(t *testing.T) {
}

func TestAddSFTPInstallation(t *testing.T) {
if runtime.GOOS == "windows" {
// Not supported
return
}

ctx, err := InitCLI(false)
testza.AssertNoError(t, err)

Expand Down

0 comments on commit ad5ef75

Please sign in to comment.