Skip to content

Commit eeb10f0

Browse files
committed
Build on github actions
1 parent 562f6ab commit eeb10f0

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.github/workflows/build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: build
2+
3+
on:
4+
push:
5+
paths:
6+
- "!TODO.md"
7+
schedule:
8+
# Minute (0-59), Hour (0-23), Day of the month (1-31), Month of the Year (1-12), Day of the week (0-6, 0 = Sunday)
9+
- cron: "0 6 * * 1"
10+
workflow_dispatch:
11+
12+
jobs:
13+
automated-tests:
14+
runs-on: ubuntu-20.04
15+
name: Run automated tests
16+
steps:
17+
18+
- name: Checkout the repository
19+
uses: actions/checkout@v2
20+
21+
- name: Install Ruby
22+
uses: ruby/setup-ruby@v1
23+
with:
24+
ruby-version: 3.0.1
25+
bundler-cache: true
26+
27+
- name: Install dependencies
28+
run: |
29+
bundle install
30+
31+
- name: Run automated tests & generate code coverage report
32+
run: |
33+
bundle exec rake

TODO.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
# TODO
66

7+
* rubocop
78
* implement git update of configured repositories
89
* add option to file enumerators to include folders
910
* add options to copy for overwriting/backup copy (also option to never overwrite)

0 commit comments

Comments
 (0)