Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Commit cf640a2

Browse files
committed
chore: spotless apply ✨ and run tests on workflow push
1 parent 98b1aa3 commit cf640a2

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/workflows/ktlint.yml

+3
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,6 @@ jobs:
6464

6565
- name: Builds the project for any errors
6666
run: ./gradlew compileKotlin
67+
68+
- name: Unit test the project
69+
run: ./gradlew kotest

support-fs/src/test/kotlin/org/noelware/remi/tests/fs/RemiFilesystemTests.kt

+19-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,26 @@
1+
/*
2+
* 🧶 Remi: Library to handling files for persistent storage with Google Cloud Storage
3+
* and Amazon S3-compatible server, made in Kotlin!
4+
*
5+
* Copyright 2022 Noelware <[email protected]>
6+
*
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
*/
19+
120
package org.noelware.remi.tests.fs
221

322
import io.kotest.core.spec.style.DescribeSpec
423
import io.kotest.matchers.shouldBe
5-
import org.noelware.remi.filesystem.FilesystemStorageConfig
624
import org.noelware.remi.filesystem.FilesystemStorageTrailer
725
import java.io.ByteArrayInputStream
826
import java.io.File

0 commit comments

Comments
 (0)