blob: 6e51f1ee2dc649f8cfc96305ea8969933f584cf4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
name: Docker Image CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the docker image
run: docker build -t reo7sp/tgbot-cpp -f Dockerfile .
- name: Build the docker image with unit tests
run: docker build -t reo7sp/tgbot-cpp-test -f Dockerfile_test .
- name: Run unit tests
run: docker run --rm reo7sp/tgbot-cpp-test
|