Skip to content

Update Makefile

Update Makefile #9

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
branches:
- master
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v6
- uses: docker/setup-buildx-action@v4
- name: Build runtime Docker image
uses: docker/build-push-action@v7
with:
context: .
file: Dockerfile
load: true
tags: reo7sp/tgbot-cpp
cache-from: type=gha,scope=runtime
cache-to: type=gha,mode=max,scope=runtime
- name: Build test Docker image
uses: docker/build-push-action@v7
with:
context: .
file: Dockerfile_test
load: true
tags: reo7sp/tgbot-cpp-test
cache-from: type=gha,scope=test
cache-to: type=gha,mode=max,scope=test
- name: Run tgbot-cpp tests
run: make docker-test-only
- name: Run codegen tests
run: make docker-test-api-codegen