Skip to content

Commit

Permalink
ci: progress
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding committed Jun 26, 2024
1 parent 8f3d8a7 commit e1f4af9
Show file tree
Hide file tree
Showing 17 changed files with 38 additions and 20 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StylesPath = ../../styles/
MinAlertLevel = suggestion
[*.md]
spectrocloud.Ableism = YES
spectrocloud.ableism = YES
2 changes: 1 addition & 1 deletion packages/spectrocloud/tests/acronym/.vale.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StylesPath = ../../styles/
MinAlertLevel = suggestion
[*.md]
spectrocloud.Acronym = YES
spectrocloud.acronym = YES
2 changes: 1 addition & 1 deletion packages/spectrocloud/tests/admonitions/.vale.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StylesPath = ../../styles/
MinAlertLevel = suggestion
[*.md]
spectrocloud.Admonitions = YES
spectrocloud.admonitions = YES
2 changes: 1 addition & 1 deletion packages/spectrocloud/tests/brand/.vale.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StylesPath = ../../styles/
MinAlertLevel = suggestion
[*.md]
spectrocloud.Brand = YES
spectrocloud.brand = YES
2 changes: 1 addition & 1 deletion packages/spectrocloud/tests/condescending/.vale.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StylesPath = ../../styles/
MinAlertLevel = suggestion
[*.md]
spectrocloud.Condescending = YES
spectrocloud.condescending = YES
2 changes: 1 addition & 1 deletion packages/spectrocloud/tests/direction/.vale.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StylesPath = ../../styles/
MinAlertLevel = suggestion
[*.md]
spectrocloud.Direction = YES
spectrocloud.direction = YES
2 changes: 1 addition & 1 deletion packages/spectrocloud/tests/file-type/.vale.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StylesPath = ../../styles/
MinAlertLevel = suggestion
[*.md]
spectrocloud.File-Type = YES
spectrocloud.file-type = YES
2 changes: 1 addition & 1 deletion packages/spectrocloud/tests/future/.vale.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StylesPath = ../../styles/
MinAlertLevel = suggestion
[*.md]
spectrocloud.Future = YES
spectrocloud.future = YES
2 changes: 1 addition & 1 deletion packages/spectrocloud/tests/gender/.vale.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StylesPath = ../../styles/
MinAlertLevel = suggestion
[*.md]
spectrocloud.Gender = YES
spectrocloud.gender = YES
2 changes: 1 addition & 1 deletion packages/spectrocloud/tests/headings-title/.vale.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StylesPath = ../../styles/
MinAlertLevel = suggestion
[*.md]
spectrocloud.Headings-Title = YES
spectrocloud.headings-title = YES
2 changes: 1 addition & 1 deletion packages/spectrocloud/tests/inclusive/.vale.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StylesPath = ../../styles/
MinAlertLevel = suggestion
[*.md]
spectrocloud.Inclusive = YES
spectrocloud.inclusive = YES
2 changes: 1 addition & 1 deletion packages/spectrocloud/tests/longform/.vale.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StylesPath = ../../styles/
MinAlertLevel = suggestion
[*.md]
spectrocloud.Longform = YES
spectrocloud.longform = YES
2 changes: 1 addition & 1 deletion packages/spectrocloud/tests/oxford-comma/.vale.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StylesPath = ../../styles/
MinAlertLevel = suggestion
[*.md]
spectrocloud.Oxford-Comma = YES
spectrocloud.oxford-comma = YES
2 changes: 1 addition & 1 deletion packages/spectrocloud/tests/plural-parantheses/.vale.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StylesPath = ../../styles/
MinAlertLevel = suggestion
[*.md]
spectrocloud.Plural-Parantheses = YES
spectrocloud.plural-parantheses = YES
2 changes: 1 addition & 1 deletion packages/spectrocloud/tests/product-ui/.vale.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
StylesPath = ../../styles/
MinAlertLevel = suggestion
[*.md]
spectrocloud.Product-UI = YES
spectrocloud.product-ui = YES

0 comments on commit e1f4af9

Please sign in to comment.