Skip to content

Commit 5d00b1e

Browse files
committed
test: skip loki test on windows
1 parent 683b435 commit 5d00b1e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tests/unit/drivers/LokiDriverTest.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* file that was distributed with this source code.
88
*/
99

10-
import { Path } from '@athenna/common'
10+
import { Is, Path } from '@athenna/common'
1111
import { Config } from '@athenna/config'
1212
import { Log, LoggerProvider } from '#src'
1313
import { Test, AfterEach, BeforeEach, type Context } from '@athenna/test'
@@ -27,6 +27,14 @@ export default class LokiDriverTest {
2727

2828
@Test()
2929
public async shouldBeAbleToLogInLoki({ assert }: Context) {
30+
/**
31+
* Running Loki container instance is not supported on
32+
* Windows CI of GitHub Actions.
33+
*/
34+
if (Is.Windows()) {
35+
return
36+
}
37+
3038
const log = Log.config({ level: 'error' }).channel('loki')
3139

3240
const message = 'hello'

0 commit comments

Comments
 (0)