Skip to content

Commit

Permalink
fixup! fixup! WIP: test-result reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
m-bucher committed Dec 20, 2023
1 parent a9bbdfb commit 2de7cac
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/javascript_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: React and Javascript tests
on:
pull_request:
push:
branches:
- master

jobs:
test_js:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node: [14]
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm install
- name: Run npm tests
run: npm run test-github-actions
...
4 changes: 0 additions & 4 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ jobs:
- name: Run plugin tests
run: |
bundle exec rake test:foreman_acd
- name: Run npm tests
working-directory: ./foreman_acd
run: |
npm run test-github-actions
- name: Run access permission test
run: |
bundle exec rake test TEST="test/unit/foreman/access_permissions_test.rb"
Expand Down

0 comments on commit 2de7cac

Please sign in to comment.