-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (49 loc) · 1.19 KB
/
CI-main.yml
File metadata and controls
51 lines (49 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: 'CI-main'
on:
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
main-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '1'
ref: 'main'
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Verify build dependencies
run: |
python --version
pip --version
make --version
docker --version
- name: Install app dependencies
run: |
make -l init_ci
- name: Run all
run: |
make -l run_all
env:
TESTCONTAINERS_CHECKS_DISABLE: 'true'
TESTCONTAINERS_RYUK_DISABLED: 'true'
- name: Archive unit test report
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: tests_unit_report
path: tests_unit_report.html
- name: Archive integration test report
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: tests_integration_report
path: tests_integration_report.html
- name: Build docker image
run: |
make docker