Skip to content

Commit

Permalink
add test to check same org success
Browse files Browse the repository at this point in the history
  • Loading branch information
afujiwara-roblox committed Oct 2, 2023
1 parent 437c835 commit 1f5147c
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- run: foreman --version
- run: selene --version

build-in-dir-external-org-false:
external-org-false-failure:
name: Test setup-foreman action allow-external-gitub-org false
strategy:
matrix:
Expand Down Expand Up @@ -88,4 +88,28 @@ jobs:
run: exit 1

- name: succeed on failure
run: exit 0
run: exit 0

external-org-false-success:
name: Test setup-foreman action allow-external-gitub-org false
strategy:
matrix:
os: ["ubuntu-latest"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install
- run: npm run all
- run: npm run pack

- name: setup-foreman-failure
uses: ./
id: setup-foreman-failure
with:
version: "*"
token: ${{ secrets.GITHUB_TOKEN }}
working-directory: tests-external-org
allow-external-github-orgs: false

0 comments on commit 1f5147c

Please sign in to comment.