Skip to content

Commit

Permalink
ci: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
adthrasher committed Sep 19, 2024
1 parent 02da073 commit 57e2583
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 23 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test-exclusions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Test Exclusions

on:
pull_request:
push:

jobs:
test-exclusions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Test Local Action (debug log)
uses: ./
env:
LOG_LEVEL: DEBUG
CREATE_LOG_FILE: true
GITHUB_WORKSPACE: test/exclusion-test
with:
exclude-patterns: 'template'
- name: Test Local Action (debug log)
uses: ./
env:
LOG_LEVEL: DEBUG
CREATE_LOG_FILE: true
GITHUB_WORKSPACE: test/exclusion-test
with:
exclude-patterns: 'template'
deny-warnings: 'true'
19 changes: 0 additions & 19 deletions .github/workflows/test.yml

This file was deleted.

4 changes: 0 additions & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/bin/bash

env

lint=""

if [ $INPUT_LINT = "true" ]; then
Expand All @@ -21,7 +19,6 @@ if [ ${INPUT_NOTES} = "true" ]; then
fi

exclusions=${INPUT_PATTERNS}
echo "exclusions: $exclusions"

if [ -n "$exclusions" ]; then
echo "Exclusions provided. Writing to .sprocket.yml."
Expand All @@ -30,7 +27,6 @@ if [ -n "$exclusions" ]; then
do
echo "$exclusion" >> .sprocket.yml
done
cat .sprocket.yml
fi

EXITCODE=0
Expand Down

0 comments on commit 57e2583

Please sign in to comment.