@@ -9,9 +9,6 @@ concurrency:
99 group : ${{ github.workflow }}-${{ github.ref }}
1010 cancel-in-progress : false
1111
12- env :
13- UV_VERSION : " 0.7.3"
14-
1512jobs :
1613 continuous-integration :
1714 if : github.actor != 'dependabot[bot]'
2522 - name : Install uv
2623 uses : astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1
2724 with :
28- version : ${{ env .UV_VERSION}}
25+ version : ${{ vars .UV_VERSION }}
2926
3027 - name : Install Python
3128 uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
@@ -45,22 +42,48 @@ jobs:
4542 run : uv run --frozen -- pytest -m unit
4643 shell : bash
4744
48- - name : Integration tests
49- run : uv run --frozen -- pytest -m integration
50- shell : bash
45+ # - name: Integration tests
46+ # run: uv run --frozen -- pytest -m integration
47+ # shell: bash
5148
52- release :
49+ deploy-api-dev :
5350 needs : continuous-integration
54- runs-on : ubuntu-22.04
55- steps :
56- - name : Checkout repository
57- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
51+ uses : ./.github/workflows/_deploy_api.yaml
52+ with :
53+ environment : dev
54+ secrets : inherit
5855
59- - name : Install uv
60- uses : astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1
61- with :
62- version : ${{ env.UV_VERSION}}
56+ deploy-transcriber-dev :
57+ needs : continuous-integration
58+ uses : ./.github/workflows/_deploy_transcriber.yaml
59+ with :
60+ environment : dev
61+ secrets : inherit
6362
64- - name : Install Python packages
65- run : uv sync --locked --no-dev
66- shell : bash
63+ deploy-api-stg :
64+ needs : [deploy-api-dev, deploy-transcriber-dev]
65+ uses : ./.github/workflows/_deploy_api.yaml
66+ with :
67+ environment : stg
68+ secrets : inherit
69+
70+ deploy-transcriber-stg :
71+ needs : [deploy-api-dev, deploy-transcriber-dev]
72+ uses : ./.github/workflows/_deploy_transcriber.yaml
73+ with :
74+ environment : stg
75+ secrets : inherit
76+
77+ deploy-api-pro :
78+ needs : [deploy-api-stg, deploy-transcriber-stg]
79+ uses : ./.github/workflows/_deploy_api.yaml
80+ with :
81+ environment : pro
82+ secrets : inherit
83+
84+ deploy-transcriber-pro :
85+ needs : [deploy-api-stg, deploy-transcriber-stg]
86+ uses : ./.github/workflows/_deploy_transcriber.yaml
87+ with :
88+ environment : pro
89+ secrets : inherit
0 commit comments