-
-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (35 loc) · 1.01 KB
/
ci.yml
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
name: Continuous Integration
on:
pull_request:
branches:
- master
push:
branches:
- master
schedule:
- cron: "00 09 * * *"
jobs:
continuous_integration:
name: Continuous Integration
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Worker
run: ci/scripts/setup_worker.sh
- name: Build Package and Verify
run: ci/scripts/build.sh
- name: Perform Static Code Analysis
run: ci/scripts/codescan.sh
- name: Run Unit Tests
run: ci/scripts/test_runner.sh
- name: Upload Test Report
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: unit-test-report
path: |
/home/runner/work/Flask-OpenAPI/Flask-OpenAPI/ci/tests/report.xml
/home/runner/work/Flask-OpenAPI/Flask-OpenAPI/ci/tests/coverage.xml
/home/runner/work/Flask-OpenAPI/Flask-OpenAPI/ci/tests/pytest.log
if-no-files-found: ignore
retention-days: 1