-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (34 loc) · 951 Bytes
/
build.yml
File metadata and controls
37 lines (34 loc) · 951 Bytes
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
name: Build
on:
pull_request: {}
push:
branches: ["master"]
jobs:
build-test-django:
name: Build and test Django
runs-on: self-hosted
steps:
- name: Check out source repository
uses: actions/checkout@v2
- uses: ./.github/actions/cleanup-docker
- name: Install Task
uses: arduino/setup-task@v1
- name: Test
run: task dev:ci_test
env:
COMPOSE_ID: ${{ github.run_id }}_django
working-directory: example_frm_django
build-test-fastapi:
name: Build and test FastAPI
runs-on: self-hosted
steps:
- name: Check out source repository
uses: actions/checkout@v2
- uses: ./.github/actions/cleanup-docker
- name: Install Task
uses: arduino/setup-task@v1
- name: Test
run: task dev:ci_test
env:
COMPOSE_ID: ${{ github.run_id }}_fastapi
working-directory: example_frm_fastapi