Skip to content

Commit 60e4a9f

Browse files
authored
ci: created test-crabber-docker.yml
1 parent 8ac45fb commit 60e4a9f

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
##########################################
2+
# Workflow to build and test crabber
3+
##########################################
4+
5+
name: CI
6+
7+
on:
8+
# Triggers the workflow on push or pull request events but only for the main branch
9+
push:
10+
branches: main
11+
pull_request:
12+
branches: main
13+
schedule:
14+
- cron: 0 0 * * * # run every day at UTC 00:00
15+
16+
jobs:
17+
# This workflow contains a single job called "test"
18+
test:
19+
# The type of runner that the job will run on
20+
runs-on: ubuntu-latest
21+
22+
# Steps represent a sequence of tasks that will be executed as part of the job
23+
steps:
24+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
25+
- name: Check out Repo
26+
uses: actions/checkout@v2
27+
with:
28+
ref: main # only checkout main
29+
- name: Build crabber + run tests
30+
run: docker build -t crabber -f docker/crabber.Dockerfile .

0 commit comments

Comments
 (0)