Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Oct 23, 2023
1 parent 1c1be8e commit 311dc2c
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 9 deletions.
File renamed without changes.
9 changes: 9 additions & 0 deletions .github/workflows/coding-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,12 @@ jobs:

- run: composer create-project nette/coding-standard temp/coding-standard ^3 --no-progress
- run: php temp/coding-standard/ecs check src tests


eslint:
name: ESLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm install
- run: npx eslint src/assets/netteForms.js
10 changes: 10 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,13 @@ jobs:
- env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: php php-coveralls.phar --verbose --config tests/.coveralls.yml


jasmine:
name: JavaScript tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
#- run: npm install -g grunt-cli
- run: npm install
- run: grunt --gruntfile=tests/netteForms/Gruntfile.js test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/vendor
/composer.lock
/node_modules
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,12 @@
"repository": {
"type": "git",
"url": "git+https://github.com/nette/forms.git"
},
"devDependencies": {
"eslint": "^7.32.0",
"grunt": "^1.2.1",
"grunt-contrib-jasmine": "^2.2.0",
"jasmine": "^3.5.0",
"js-fixtures": "^1.5.3"
}
}
9 changes: 0 additions & 9 deletions tests/netteForms/package.json

This file was deleted.

0 comments on commit 311dc2c

Please sign in to comment.