summaryrefslogtreecommitdiffhomepage
path: root/.forgejo
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2025-03-31 20:23:23 +0100
committerjao <jao@gnu.org>2025-03-31 20:23:23 +0100
commit86921f0f56b904b01e6f1ab8f645c34f1a24920b (patch)
tree3f51718499fa40e341b542a58a383f3a28c302b9 /.forgejo
parenta4d7a483f84ddd7e07fc7059eae1cf7ab644d296 (diff)
downloadxmobar-86921f0f56b904b01e6f1ab8f645c34f1a24920b.tar.gz
xmobar-86921f0f56b904b01e6f1ab8f645c34f1a24920b.tar.bz2
forgejo actions: test job definition
Diffstat (limited to '.forgejo')
-rw-r--r--.forgejo/workflows/test.yml36
1 files changed, 18 insertions, 18 deletions
diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml
index 7a56de9..4da543e 100644
--- a/.forgejo/workflows/test.yml
+++ b/.forgejo/workflows/test.yml
@@ -1,22 +1,22 @@
-matrix:
- GHC_VERSION:
- - 9.6
- - 9.4
- - 8
+on: [push, pull_request]
-steps:
+jobs:
test:
- when:
- event: [push, pull_request]
- image: haskell:${GHC_VERSION}
- commands:
- - apt-get update
- - apt-get install -y xorg-dev libxrandr-dev libpango1.0-dev
- - apt-get install -y libasound2-dev libxpm-dev libmpd-dev
- - apt-get install -y hspec-discover hlint
+ matrix:
+ GHC_VERSION:
+ - 9.6
+ - 9.4
+ - 8
+ steps:
+ image: haskell:${GHC_VERSION}
+ commands:
+ - apt-get update
+ - apt-get install -y xorg-dev libxrandr-dev libpango1.0-dev
+ - apt-get install -y libasound2-dev libxpm-dev libmpd-dev
+ - apt-get install -y hspec-discover hlint
- - hlint src
+ - hlint src
- - cabal update
- - cabal test --enable-tests -fall_extensions
- - cabal test --enable-tests -fall_extensions -f-with_xrender
+ - cabal update
+ - cabal test --enable-tests -fall_extensions
+ - cabal test --enable-tests -fall_extensions -f-with_xrender