forked from strictdoc-project/html2pdf4doc_python
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (24 loc) · 718 Bytes
/
docker.yml
File metadata and controls
31 lines (24 loc) · 718 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
name: HTML2Print Docker CI
on:
pull_request:
branches: [ "**" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Upgrade pip
run: |
python -m pip install --upgrade pip
- name: Install Python packages
run: |
pip install -r requirements.development.txt
- name: Build Docker image with PR branch
run: |
invoke build-docker \
--image pr-${{ github.event.pull_request.number }} \
--source=${{ github.event.pull_request.head.sha }}
- name: Run container and test StrictDoc installation
run: |
invoke test-docker \
--image pr-${{ github.event.pull_request.number }}