Skip to content

Commit

Permalink
do not run regression tests on github action changes
Browse files Browse the repository at this point in the history
  • Loading branch information
petersilva committed Oct 31, 2023
1 parent e4abc79 commit 259a48a
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 15 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
push:
branches:
- development
paths-ignore:
- '.github/**'


jobs:
gh-pages:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
- stable
- v2_stable

paths-ignore:
- '.github/**'

workflow_dispatch:
inputs:
debug_enabled:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/flow_basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
pull_request:
types: [opened, edited, reopened]
push:
paths-ignore:
- '.github/**'


workflow_dispatch:

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/flow_mqtt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ on:
push:
branches:
- development
paths-ignore:
- '.github/**'


workflow_dispatch:
inputs:
debug_enabled:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/flow_redis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
push:
branches:
- v03_disabled
paths-ignore:
- '.github/**'


workflow_dispatch:
inputs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ghcr-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
branches:
- development

workflow_dispatch:

env:
REGISTRY: ghcr.io
IMAGE_NAME: sarracenia
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
pull_request:
types: [opened, edited, reopened]
push:
paths-ignore:
- '.github/**'


jobs:
build:
Expand Down
15 changes: 1 addition & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
FROM ubuntu:latest

MAINTAINER "[email protected]"

ENV TZ="Etc/UTC" \
DEBIAN_FRONTEND="noninteractive" \
BUILD_PACKAGES="build-essential"

# deps copied from setup.py requires= ...

RUN apt-get update ; apt-get install -y python3-amqp python3-appdirs python3-dateparser python3-humanfriendly python3-humanize python3-jsonpickle python3-netifaces python3-paramiko python3-pip python3-psutil python3-watchdog

# need version >= 1.5.1 to get MQTT v5 support, not in repos of 20.04 ... so get from pip.
RUN pip3 install paho-mqtt
FROM ghcr.io/metpx/sarracenia_base:latest

WORKDIR /src

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile_base
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ubuntu:latest

MAINTAINER "[email protected]"
LABEL maintainer="[email protected]"

ENV TZ="Etc/UTC" \
DEBIAN_FRONTEND="noninteractive" \
Expand Down

0 comments on commit 259a48a

Please sign in to comment.