Skip to content

Updated weewx install path. #162

Updated weewx install path.

Updated weewx install path. #162

Workflow file for this run

name: Test & Lint
on:
[push, pull_request]
jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
hadolint:
name: hadolint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run hadolint
uses: hadolint/hadolint-action@v2.0.0
with:
dockerfile: Dockerfile
verbose: true
dgoss:
name: dgoss
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: e1himself/goss-installation-action@v1.2.1
with:
version: 'v0.4.4'
- run: docker build . -t "weewx"
- name: Run dgoss tests
run: >
export GOSS_FILES_STRATEGY=cp &&
export GOSS_PATH="/opt/hostedtoolcache/goss/0.4.4/amd64/goss" &&
export GOSS_SLEEP=1.0 &&
sudo -E /opt/hostedtoolcache/dgoss/0.4.4/amd64/dgoss run -p 9877:9877 weewx