Skip to content

Commit 25faff1

Browse files
committed
Testing docker-compose setup in CI
1 parent abd44fd commit 25faff1

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/dev-setup.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Testing development setup in https://warehouse.readthedocs.io/development/getting-started.html
2+
3+
name: Dev Setup
4+
5+
on:
6+
push:
7+
branches: [ main ]
8+
pull_request:
9+
branches: [ main ]
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v2
19+
- run: make build
20+
- run: |
21+
# `make serve` daemonized
22+
docker-compose up -d
23+
- run: make initdb
24+
- run: make tests

0 commit comments

Comments
 (0)