|
|
|
@ -1,10 +1,20 @@
|
|
|
|
|
name: ChangeDetection.io Container Build Test
|
|
|
|
|
|
|
|
|
|
# Triggers the workflow on push or pull request events
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
paths:
|
|
|
|
|
- requirements.txt
|
|
|
|
|
- Dockerfile
|
|
|
|
|
|
|
|
|
|
# This line doesnt work, even tho it is the documented one
|
|
|
|
|
#on: [push, pull_request]
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
|
push:
|
|
|
|
|
paths:
|
|
|
|
|
- requirements.txt
|
|
|
|
|
- Dockerfile
|
|
|
|
|
|
|
|
|
|
pull_request:
|
|
|
|
|
paths:
|
|
|
|
|
- requirements.txt
|
|
|
|
|
- Dockerfile
|
|
|
|
|
|
|
|
|
|
# Changes to requirements.txt packages and Dockerfile may or may not always be compatible with arm etc, so worth testing
|
|
|
|
|
# @todo: some kind of path filter for requirements.txt and Dockerfile
|
|
|
|
|