Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit52234b1

Browse files
committed
Run unit tests in GitHub actions
1 parent8a1b24c commit52234b1

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

‎.github/workflows/build.yml‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,29 @@ jobs:
4242
name:source
4343
path:source/
4444

45+
run_tests:
46+
name:Run tests
47+
needs:package_source
48+
runs-on:ubuntu-latest
49+
steps:
50+
-name:Download artifacts
51+
uses:actions/download-artifact@v4
52+
53+
-name:Install dependencies
54+
run:|
55+
apt-get update && apt-get install ghc cabal-install
56+
cabal update
57+
58+
-name:Unpack source
59+
run:|
60+
cd source
61+
tar --strip-components=1 xvzf source.tar.gz
62+
63+
-name:Build and run tests
64+
run:|
65+
cd source
66+
cabal test
67+
4568
build_source:
4669
name:Build
4770
needs:package_source

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp