File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010
1111 steps :
12- - name : Checkout code
12+ - name : Checkout repo
1313 uses : actions/checkout@v4
1414
15- - name : Install build tools
15+ - name : Install deb build tools
1616 run : |
17- sudo apt-get update
18- sudo apt-get install -y build-essential devscripts debhelper fakeroot lintian
17+ sudo apt-get update -qq && \
18+ sudo apt-get install -yqq build-essential devscripts debhelper fakeroot lintian
1919
2020 - name : Set up Debian packaging
2121 run : |
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010
1111 steps :
12+ - name : Checkout repo
13+ uses : actions/checkout@v4
14+
1215 - name : Install RPM build tools
1316 run : |
14- sudo apt-get update
15- sudo apt-get install -y rpm rpm2cpio build-essential
16-
17- - name : Checkout source
18- uses : actions/checkout@v4
17+ sudo apt-get update -qq && \
18+ sudo apt-get install -yqq rpm rpm2cpio build-essential
1919
2020 - name : Set version and app name
2121 run : |
Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ # Triggers the workflow on push or pull request events but only for the "master" branch
5+ push :
6+ branches : [ "master" ]
7+ pull_request :
8+ branches : [ "master" ]
9+
10+ # Allows you to run this workflow manually from the Actions tab
11+ workflow_dispatch :
12+
13+ jobs :
14+ tests :
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - name : Checkout repo
19+ uses : actions/checkout@v4
20+
21+ - name : Install bats
22+ run : |
23+ sudo apt-get update -qq && sudo apt-get install -yqq bats
24+
25+ - name : Run bats tests
26+ run : |
27+ cd $GITHUB_WORKSPACE && bats tests/*.bats
You can’t perform that action at this time.
0 commit comments