-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (47 loc) · 1.46 KB
/
test-and-build.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Test and build
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
call-pytest-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/[email protected]
with:
local_package_name: hyp3_srg
python_versions: >-
["3.10", "3.11", "3.12", "3.13"]
call-version-info-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/[email protected]
with:
python_version: "3.10"
call-docker-ghcr-workflow-cpu:
needs: call-version-info-workflow
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/[email protected]
with:
version_tag: ${{ needs.call-version-info-workflow.outputs.version_tag }}.cpu
release_branch: main
develop_branch: develop
user: tools-bot
file: Dockerfile
secrets:
USER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
call-docker-ghcr-workflow-gpu:
needs: call-version-info-workflow
# Docs: https://github.com/ASFHyP3/actions
uses: ASFHyP3/actions/.github/workflows/[email protected]
with:
version_tag: ${{ needs.call-version-info-workflow.outputs.version_tag }}.gpu
release_branch: main
develop_branch: develop
user: tools-bot
file: Dockerfile.gpu
secrets:
USER_TOKEN: ${{ secrets.GITHUB_TOKEN }}