diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 1db7ca8..a7292dd 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -44,13 +44,13 @@ jobs: sudo mv vale /usr/local/bin/ - name: debug - run: vale --config=packages/spectrocloud/tests/ableism/vale.ini packages/spectrocloud/tests/ableism/pass.md + run: vale --config=packages/spectrocloud/tests/ableism/.vale.ini packages/spectrocloud/tests/ableism/pass.md - # - name: Vale Version - # run: vale --version + - name: Vale Version + run: vale --version - # - name: Test Files Present? - # run: make required_files + - name: Test Files Present? + run: make required_files - name: Tests run: make tests diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..159bb9c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +FROM ubuntu:24.04 + +COPY . /app + +ENV VALE_VERSION="2.3.0" + +RUN apt-get update && apt-get install wget make -y + +RUN URL="https://github.com/errata-ai/vale/releases/download/v${VALE_VERSION}/vale_${VALE_VERSION}_Linux_64-bit.tar.gz" && \ + wget --quiet $URL --output-document vale.tar.gz && \ + tar -xzf vale.tar.gz && \ + chmod +x vale && \ + mv vale /usr/local/bin/ + +WORKDIR /app + + +CMD ["make", "tests"] \ No newline at end of file diff --git a/packages/spectrocloud/tests/ableism/vale.ini b/packages/spectrocloud/tests/ableism/.vale.ini similarity index 70% rename from packages/spectrocloud/tests/ableism/vale.ini rename to packages/spectrocloud/tests/ableism/.vale.ini index dff6faf..4fa4193 100644 --- a/packages/spectrocloud/tests/ableism/vale.ini +++ b/packages/spectrocloud/tests/ableism/.vale.ini @@ -1,4 +1,4 @@ StylesPath = ../../styles/ MinAlertLevel = suggestion [*.md] -spectrocloud.Ableism = YES \ No newline at end of file +spectrocloud.ableism = YES \ No newline at end of file diff --git a/packages/spectrocloud/tests/acronym/.vale.ini b/packages/spectrocloud/tests/acronym/.vale.ini index c59f5bf..3d853db 100644 --- a/packages/spectrocloud/tests/acronym/.vale.ini +++ b/packages/spectrocloud/tests/acronym/.vale.ini @@ -1,4 +1,4 @@ StylesPath = ../../styles/ MinAlertLevel = suggestion [*.md] -spectrocloud.Acronym = YES \ No newline at end of file +spectrocloud.acronym = YES \ No newline at end of file diff --git a/packages/spectrocloud/tests/admonitions/.vale.ini b/packages/spectrocloud/tests/admonitions/.vale.ini index 3109df8..11ff097 100644 --- a/packages/spectrocloud/tests/admonitions/.vale.ini +++ b/packages/spectrocloud/tests/admonitions/.vale.ini @@ -1,4 +1,4 @@ StylesPath = ../../styles/ MinAlertLevel = suggestion [*.md] -spectrocloud.Admonitions = YES \ No newline at end of file +spectrocloud.admonitions = YES \ No newline at end of file diff --git a/packages/spectrocloud/tests/brand/.vale.ini b/packages/spectrocloud/tests/brand/.vale.ini index ff6f6fa..6be2d8c 100644 --- a/packages/spectrocloud/tests/brand/.vale.ini +++ b/packages/spectrocloud/tests/brand/.vale.ini @@ -1,4 +1,4 @@ StylesPath = ../../styles/ MinAlertLevel = suggestion [*.md] -spectrocloud.Brand = YES \ No newline at end of file +spectrocloud.brand = YES \ No newline at end of file diff --git a/packages/spectrocloud/tests/condescending/.vale.ini b/packages/spectrocloud/tests/condescending/.vale.ini index 79220bb..fe583a4 100644 --- a/packages/spectrocloud/tests/condescending/.vale.ini +++ b/packages/spectrocloud/tests/condescending/.vale.ini @@ -1,4 +1,4 @@ StylesPath = ../../styles/ MinAlertLevel = suggestion [*.md] -spectrocloud.Condescending = YES +spectrocloud.condescending = YES diff --git a/packages/spectrocloud/tests/direction/.vale.ini b/packages/spectrocloud/tests/direction/.vale.ini index 38b96ae..5ab7260 100644 --- a/packages/spectrocloud/tests/direction/.vale.ini +++ b/packages/spectrocloud/tests/direction/.vale.ini @@ -1,4 +1,4 @@ StylesPath = ../../styles/ MinAlertLevel = suggestion [*.md] -spectrocloud.Direction = YES \ No newline at end of file +spectrocloud.direction = YES \ No newline at end of file diff --git a/packages/spectrocloud/tests/file-type/.vale.ini b/packages/spectrocloud/tests/file-type/.vale.ini index 1a1498c..5de1d3b 100644 --- a/packages/spectrocloud/tests/file-type/.vale.ini +++ b/packages/spectrocloud/tests/file-type/.vale.ini @@ -1,4 +1,4 @@ StylesPath = ../../styles/ MinAlertLevel = suggestion [*.md] -spectrocloud.File-Type = YES +spectrocloud.file-type = YES diff --git a/packages/spectrocloud/tests/future/.vale.ini b/packages/spectrocloud/tests/future/.vale.ini index a7b209e..6a4075f 100644 --- a/packages/spectrocloud/tests/future/.vale.ini +++ b/packages/spectrocloud/tests/future/.vale.ini @@ -1,4 +1,4 @@ StylesPath = ../../styles/ MinAlertLevel = suggestion [*.md] -spectrocloud.Future = YES \ No newline at end of file +spectrocloud.future = YES \ No newline at end of file diff --git a/packages/spectrocloud/tests/gender/.vale.ini b/packages/spectrocloud/tests/gender/.vale.ini index 0efb3a3..b13dd6b 100644 --- a/packages/spectrocloud/tests/gender/.vale.ini +++ b/packages/spectrocloud/tests/gender/.vale.ini @@ -1,4 +1,4 @@ StylesPath = ../../styles/ MinAlertLevel = suggestion [*.md] -spectrocloud.Gender = YES \ No newline at end of file +spectrocloud.gender = YES \ No newline at end of file diff --git a/packages/spectrocloud/tests/headings-title/.vale.ini b/packages/spectrocloud/tests/headings-title/.vale.ini index aa6019c..9eacd66 100644 --- a/packages/spectrocloud/tests/headings-title/.vale.ini +++ b/packages/spectrocloud/tests/headings-title/.vale.ini @@ -1,4 +1,4 @@ StylesPath = ../../styles/ MinAlertLevel = suggestion [*.md] -spectrocloud.Headings-Title = YES \ No newline at end of file +spectrocloud.headings-title = YES \ No newline at end of file diff --git a/packages/spectrocloud/tests/inclusive/.vale.ini b/packages/spectrocloud/tests/inclusive/.vale.ini index 5afd805..aab07d4 100644 --- a/packages/spectrocloud/tests/inclusive/.vale.ini +++ b/packages/spectrocloud/tests/inclusive/.vale.ini @@ -1,4 +1,4 @@ StylesPath = ../../styles/ MinAlertLevel = suggestion [*.md] -spectrocloud.Inclusive = YES \ No newline at end of file +spectrocloud.inclusive = YES \ No newline at end of file diff --git a/packages/spectrocloud/tests/longform/.vale.ini b/packages/spectrocloud/tests/longform/.vale.ini index 381c9c0..14088b0 100644 --- a/packages/spectrocloud/tests/longform/.vale.ini +++ b/packages/spectrocloud/tests/longform/.vale.ini @@ -1,4 +1,4 @@ StylesPath = ../../styles/ MinAlertLevel = suggestion [*.md] -spectrocloud.Longform = YES \ No newline at end of file +spectrocloud.longform = YES \ No newline at end of file diff --git a/packages/spectrocloud/tests/oxford-comma/.vale.ini b/packages/spectrocloud/tests/oxford-comma/.vale.ini index d158a09..55c3145 100644 --- a/packages/spectrocloud/tests/oxford-comma/.vale.ini +++ b/packages/spectrocloud/tests/oxford-comma/.vale.ini @@ -1,4 +1,4 @@ StylesPath = ../../styles/ MinAlertLevel = suggestion [*.md] -spectrocloud.Oxford-Comma = YES \ No newline at end of file +spectrocloud.oxford-comma = YES \ No newline at end of file diff --git a/packages/spectrocloud/tests/plural-parantheses/.vale.ini b/packages/spectrocloud/tests/plural-parantheses/.vale.ini index 46e8310..a24e4ac 100644 --- a/packages/spectrocloud/tests/plural-parantheses/.vale.ini +++ b/packages/spectrocloud/tests/plural-parantheses/.vale.ini @@ -1,4 +1,4 @@ StylesPath = ../../styles/ MinAlertLevel = suggestion [*.md] -spectrocloud.Plural-Parantheses = YES \ No newline at end of file +spectrocloud.plural-parantheses = YES \ No newline at end of file diff --git a/packages/spectrocloud/tests/product-ui/.vale.ini b/packages/spectrocloud/tests/product-ui/.vale.ini index 7868407..8bf705d 100644 --- a/packages/spectrocloud/tests/product-ui/.vale.ini +++ b/packages/spectrocloud/tests/product-ui/.vale.ini @@ -1,4 +1,4 @@ StylesPath = ../../styles/ MinAlertLevel = suggestion [*.md] -spectrocloud.Product-UI = YES \ No newline at end of file +spectrocloud.product-ui = YES \ No newline at end of file