Commit graph

326 commits

Author SHA1 Message Date
dependabot[bot]
b2491c3bd6
Bump pylint from 2.7.0 to 2.7.1 in /dependencies (#1256)
* Bump pylint from 2.7.0 to 2.7.1 in /dependencies

Bumps [pylint](https://github.com/PyCQA/pylint) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog)
- [Commits](https://github.com/PyCQA/pylint/compare/pylint-2.7.0...pylint-2.7.1)

Signed-off-by: dependabot[bot] <support@github.com>

* fix jscpd

* fix json

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-02-24 09:09:56 -06:00
dependabot[bot]
7c4842d2d2
Bump ansible-lint from 5.0.1 to 5.0.2 in /dependencies (#1248)
* Bump ansible-lint from 5.0.1 to 5.0.2 in /dependencies

Bumps [ansible-lint](https://github.com/ansible-community/ansible-lint) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/ansible-community/ansible-lint/releases)
- [Commits](https://github.com/ansible-community/ansible-lint/compare/v5.0.1...v5.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

* fix ansible

* fix ansible

* looking

* maybe baby

* adding details

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-02-24 07:45:39 -06:00
Eric Nemchik
389fe11f9b
Use git ls-tree to build file list (#1192)
* Ignore files that are ignored by Git (#1185)

* Ignore files that are ignored by Git

* Add missing continue statement

* Fix linting errors

* Fix linting errors

* like it

* like it

* Add the IGNORE_GITIGNORED_FILES variable

* Fix setting the Ansible directory when running tests

* Fix var export

* Update linter.sh

Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>

* Remove RenameTestFolder

* Update action.yml

* removing the dockignore from our test...

* fixed it

Co-authored-by: Marco Ferrari <ferrari.marco@gmail.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-02-23 11:51:34 -06:00
dependabot[bot]
537676a883
Bump rubocop from 0.89.1 to 1.6.1 in /dependencies (#1239)
* Bump rubocop from 0.89.1 to 1.6.1 in /dependencies

Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.89.1 to 1.6.1.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.89.1...v1.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

* fix language

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-02-22 12:51:02 -06:00
Lukas Gravley
9bfc6158b9
Fix Tap report spacing (#1240)
* cleaner

* fix go

* fix go

* going ham

* fix typo

* fix typo

* fix typo

* fix mapfile

* fix mapfile

* fixed spacing
2021-02-22 11:28:49 -06:00
dependabot[bot]
2b9f629188
Bump @typescript-eslint/eslint-plugin from 4.0.0 to 4.15.1 in /dependencies (#1238)
* Bump @typescript-eslint/eslint-plugin in /dependencies

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.0.0 to 4.15.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.1/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>

* fix tap

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-02-19 09:07:06 -06:00
Lukas Gravley
b951bb2fad
only show high and critical (#1229)
* only show high and critical

* only show high and critical

* only show high and critical
2021-02-18 10:21:53 -06:00
dependabot[bot]
570a113901
Bump cljkondo/clj-kondo from 2021.01.20-alpine to 2021.02.13-alpine (#1213)
* Bump cljkondo/clj-kondo from 2021.01.20-alpine to 2021.02.13-alpine

Bumps cljkondo/clj-kondo from 2021.01.20-alpine to 2021.02.13-alpine.

Signed-off-by: dependabot[bot] <support@github.com>

* fix ascii

* fix spacing

* removing non ascii chars

* fixed typo

* fixed typo

* add location

* flaky go

* flaky go

* flaky ansible

* fix groovy

* update

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-02-18 09:59:43 -06:00
Zack Koppert
35e2d160a4
Add trivy scans for container security (#1209)
* Create trivy.yml

* Add descriptive names

* Add fs mode to catch package.lock issues

* use script to get around timeout

* use script to get around timeout

* set it

* set it

* update deps

* Align with comment style

* fix headeer

* npm audit fix to patch vulnerabilities

Signed-off-by: Zack Koppert <zkoppert@github.com>

Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2021-02-17 16:03:30 -06:00
Jeremiah
00c70f4b2c
Update snakefmt to 0.3.0 and black to 20.3 (now supported by snakefmt). (#1212)
* Update snakefmt to 0.3.0 and black to 20.3 (now suppored by snakefmt).

* Update pipfile for ansible 5.0

* Align pipfile python with Docker alpine image

* Explicitly pin python minor version in dockerfile

* Ansible updates

* Add missing cryptography dependencies

* Eliminate deprecated ansible syntax

* Update expected output for ansible

* Try to add regex to handle test run length

* Yaml doc syntax fixes

* Flailing attempt at tap wildcard

* Catch dynamic output from ansible-lint

* Update regex

* Fix regex statement

* Fix tap output

* Update go error message (issue from master branch)

* Fix regex

* Ansible strikes back

* Fix tap output

* Fix json tap

* Update r tap
2021-02-17 07:32:40 -06:00
dependabot[bot]
1df69f651f
Bump yoheimuta/protolint from v0.28.0 to v0.28.1 (#1169)
* Bump yoheimuta/protolint from v0.28.0 to v0.28.1

Bumps yoheimuta/protolint from v0.28.0 to v0.28.1.

Signed-off-by: dependabot[bot] <support@github.com>

* maybe

* maybe

* use better docker

* use better docker

* use better docker

* use better docker

* use better docker

* use better docker

* fixed it

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Admiral Awkbar <admiralawkbar@github.com>
2021-02-03 09:08:08 -06:00
Marco Ferrari
ab8780a58f
Install, configure, and run jscpd. Add missing tests (#1032)
Co-authored-by: Gabo <gabo.fdc@gmail.com>
Co-authored-by: Matt Desmond <beardofedu@github.com>
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2021-01-27 20:47:34 +01:00
Lukas Gravley
e11786a54c
Adding Flag for Possum (#1149)
* adding a bad feature

* fix hadolint
2021-01-19 11:03:14 -06:00
dependabot[bot]
9a882c6476
Bump dotenvlinter/dotenv-linter from 2.2.1 to 3.0.0 (#1140)
* Bump dotenvlinter/dotenv-linter from 2.2.1 to 3.0.0

Bumps dotenvlinter/dotenv-linter from 2.2.1 to 3.0.0.

Signed-off-by: dependabot[bot] <support@github.com>

* fix tap

* really fix it

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2021-01-13 09:51:01 -06:00
Gabriel Diaz
5c31b85619
Remove duplicated code (#1137)
* Remove duplicated code on ghe config apply

* Add funciton to replace duplicated cod

* Fix comment

* Fix java test duplicated code

* Fix python test duplicated code

* Update javascript es test acording to change

* Fix linters bash

* Fix javascript standard linters on javascript es good
2021-01-12 12:54:00 -06:00
Gabriel Diaz
909d745d0b
Update arm template (#1131) 2021-01-11 08:57:49 -06:00
dependabot[bot]
a3711bd52a
Bump yoheimuta/protolint from v0.26.1 to v0.27.0 (#1097)
* Bump yoheimuta/protolint from v0.26.1 to v0.27.0

Bumps yoheimuta/protolint from v0.26.1 to v0.27.0.

Signed-off-by: dependabot[bot] <support@github.com>

* Fix protobuf tests

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gabo <gabo.fdc@gmail.com>
Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2021-01-04 12:47:37 -06:00
Lukas Gravley
193de39afd
Adding support for Prettier (#1118)
* adding it

* fix spaces

* vars were backwards

* remove prettier from function test
2021-01-04 11:07:57 -06:00
Lukas Gravley
37b098dff5
Try to build with caching to help build times (#1051)
* trying this out

* adding auth

* adding more tags

* check log

* try2

* fix vars

* remove debug

* fix tap

* Revert "fix tap"

This reverts commit 3e1fa4c704.

* checks

* get sha another way

* fix env vars

* making more env

* checking names

* fix repo name

* fix copypasta

* remove spaces

* fixed container name

* fix var and stop uploading dev
2020-12-04 12:49:09 -06:00
Thad Craft
32b3cde716
Enable @SuppressWarnings annotation support by default for Java (#1052)
* Enable @SuppressWarnings annotation support by default for Java checkstyle

* Ensure that args is used

* Add updates to the sun_checks in .github/linters

* Comment out Javadoc linter to remove need for package-info

* Fix expected-JAVA.tap to match new test cases

* Fix expected-JAVA.tap to match output

Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2020-12-04 08:46:42 -06:00
Lukas Gravley
6f1a131b14
fixing logic for file find (#1049)
* fixing logic

* fix warn error

* fix files

* maybe?

* fix test name

* fix test
2020-12-03 16:17:55 -06:00
Marco Ferrari
241f9f2cad
Harden testing (#982) 2020-11-20 09:12:31 -06:00
Lukas Gravley
cf19607c3c
Gherkin (#1011)
* adding gherkin

* adding to array

* fix space

* Update Dockerfile

* adding rules

* adding rules

Co-authored-by: SVN Migrator <someone@somewhere.com>
2020-11-19 09:54:20 -06:00
Lukas Gravley
7943ce1f54
break out: (#990)
* break out:

* fix it

* fix source

* add them exports

* more path

* more path
2020-11-12 11:27:34 -06:00
Marco Ferrari
50d33cbbe0 Fix ansible tests 2020-11-07 00:18:42 +01:00
Marco Ferrari
e17ed25116 Fix r tests 2020-11-07 00:15:29 +01:00
Marco Ferrari
7f1c3a3a45 Fix go formatting 2020-11-06 23:52:00 +01:00
Marco Ferrari
1d6fad5626 Fix shfmt bad test 2020-11-06 23:48:31 +01:00
Marco Ferrari
4b92c25a4b Fix editorconfig-checker errors 2020-11-06 23:18:48 +01:00
Marco Ferrari
b7e5dfce01 Fix shfmt errors 2020-11-06 23:10:09 +01:00
Marco Ferrari
e1a83d9f70 Fix C# good test 2020-11-06 22:13:57 +01:00
Marco Ferrari
ee5a0ce946 Fix C# good test 2020-11-06 21:56:52 +01:00
Lucas Gravley
4eae14fbe2 fix tap 2020-11-06 13:12:17 -06:00
Marco Ferrari
cbe0ab9cd9 Fix kotlin good file indentation 2020-11-06 17:39:25 +01:00
Marco Ferrari
c4a092d386 Fix editorconfig-checker test directory name 2020-11-06 17:15:21 +01:00
Gabo
cc5556514f Fix shellcheck 2020-10-30 20:27:20 -05:00
Gabo
f826ac73c5 Validation should be inside container 2020-10-30 19:57:35 -05:00
Gabo
291489d6d9 Fix logging level for automation scripts 2020-10-30 19:09:54 -05:00
Gabo
e4b007cd40 Move validation to build time 2020-10-30 15:06:12 -05:00
Lucas Gravley
ccafee7817 fix tests 2020-10-28 12:50:33 -05:00
Lucas Gravley
d906562960 better tests 2020-10-28 11:47:37 -05:00
Lucas Gravley
d78cdc22ac better tests 2020-10-28 11:30:03 -05:00
Lucas Gravley
22dda40562 fix tests 2020-10-28 10:50:02 -05:00
Lucas Gravley
dbffb46526 adding tests 2020-10-28 10:22:55 -05:00
Gabo
ae8b16dac5 Fix tap test for dynamic tests 2020-10-19 20:46:14 -05:00
Marco Ferrari
fcce194d34 Merge TestCodebase and LintCodebase
Change-Id: I9a044fefe96e400b8e3320842b53fe97af2a7b40
2020-10-17 16:12:55 +02:00
Lucas Gravley
8ccb75ef15 fix tests 2020-10-13 12:05:56 -05:00
Lucas Gravley
d8b13b0fd8 now with files 2020-10-13 10:21:23 -05:00
Lukas Gravley
c23530be51
from new update 2020-10-13 09:02:10 -05:00
Tim Jones
a8746a7159 Add support for Terragrunt files 2020-10-08 18:18:22 +02:00
Marco Ferrari
ab4573fb57 Fix shfmt test files names 2020-09-25 22:13:58 +02:00
Marco Ferrari
bf7fd5939d Fix editorconfig test cases 2020-09-25 21:25:33 +02:00
Marco Ferrari
f24f52be11 Lint with Kubeval and fixes 2020-09-22 01:49:01 +02:00
kpj
8ac1c99a2e [Snakemake] Support both formatting using 'snakefmt' and linting using 'snakemake --lint' 2020-09-08 09:38:48 +02:00
kpj
34e9e57419 [Snakemake] Add another issue to bad test case 2020-09-07 17:01:19 +02:00
kpj
ea5d4aa2a1 [Snakemake] Update test cases 2020-09-07 16:55:06 +02:00
Lucas Gravley
cd74d80762 adding some cleanup 2020-09-04 09:52:04 -05:00
Victor Martinez
7380bad950
Validate docker labels in the DEV workflow 2020-09-04 10:26:13 +01:00
Victor Martinez
d3c992bec7
Print version, date and revision 2020-09-04 09:09:20 +01:00
Lucas Gravley
7570e84faa Adding more vars 2020-09-02 10:18:13 -05:00
Lucas Gravley
eb8dc5cf74 fix bug 2020-09-01 12:57:10 -05:00
Lucas Gravley
7ab2ec7c28 adding new url 2020-09-01 12:44:05 -05:00
Lucas Gravley
95563d224f Fixing it 2020-09-01 11:08:40 -05:00
Lukas Gravley
3490d97bb1
Update upload-docker.sh 2020-08-31 14:49:02 -05:00
Lukas Gravley
9f808022ba
Update upload-docker.sh 2020-08-31 14:45:30 -05:00
Marco Ferrari
644e69131b Fix shfmt test 2020-08-31 19:22:50 +02:00
Marco Ferrari
0d849cd5e0 Lint shell files with shfmt 2020-08-31 19:22:49 +02:00
Lucas Gravley
9be83e0166 merge master 2020-08-28 11:46:11 -05:00
Lucas Gravley
0404c39203 adding exec 2020-08-28 09:56:53 -05:00
Cesar Rodriguez
772df7ff4b adds vpc sgs to good test 2020-08-26 23:39:56 -04:00
Cesar Rodriguez
95576fd66f updates terraform test 2020-08-26 22:53:00 -04:00
Eddy Nakamura
7416088588 updating spaces to be correct 2020-08-25 16:52:52 -03:00
Thomas Hughes
7486ddb784
Update C# Bad test (curly brace should be newline) 2020-08-25 14:31:13 -05:00
Thomas Hughes
33872f99a0
Update csharp test README 2020-08-25 14:26:43 -05:00
Lucas Gravley
2ff9be6197 adding testes 2020-08-25 14:05:42 -05:00
Lucas Gravley
add83739a7 adding test folders 2020-08-25 13:07:44 -05:00
Lucas Gravley
9c7d6bf08f fix shell check 2020-08-24 13:05:33 -05:00
Lucas Gravley
d4c65c093b better code 2020-08-24 13:00:34 -05:00
Lucas Gravley
a59f74a287 small cleanup 2020-08-20 13:18:17 -05:00
Lucas Gravley
815ff9d520 Adding more 2020-08-20 13:03:40 -05:00
Lucas Gravley
17a4bd2271 adding some dope code 2020-08-20 12:58:11 -05:00
Lucas Gravley
4f2041dfdf more spaces 2020-08-20 10:04:36 -05:00
Lucas Gravley
1f2c569c21 adding black 2020-08-20 09:44:11 -05:00
Lukas Gravley
5970f28f6b
Merge pull request #588 from assignUser/chktex
Add LaTeX support
2020-08-19 13:12:11 -05:00
assignUser
538c44e0c6 adjust test cases 2020-08-19 07:04:40 +00:00
assignUser
f84ff928f4 fix typo 2020-08-19 06:47:16 +00:00
assignUser
e1bc1df9e7 add latex support 2020-08-18 22:54:32 +00:00
Lukas Gravley
308c1fd5aa
Merge pull request #569 from assignUser/master
Add lintr support to super-lint
2020-08-18 16:08:35 -05:00
Lukas Gravley
721e6dbc7e
Update upload-docker.sh 2020-08-18 10:41:20 -05:00
Lukas Gravley
1395dcc55e
Update upload-docker.sh 2020-08-18 10:40:14 -05:00
assignUser
05abc5ee69 lowercase tests 2020-08-18 13:59:33 +00:00
Lucas Gravley
4af758c3ee fixing cleanup 2020-08-17 09:46:14 -05:00
assignUser
d4f4bbd255 everything except linter.sh 2020-08-15 18:21:57 +00:00
Lucas Gravley
999413d224 adding more tests and cool logic 2020-08-13 12:40:21 -05:00
Lukas Gravley
1746012dab
Merge pull request #534 from marghidanu/master
PerlCritic basic implementation
2020-08-07 11:56:09 -05:00
Tudor Marghidanu
8309e9136f Adjusting perl test report 2020-08-07 17:25:00 +02:00
Tudor Marghidanu
a4b7076f30 Updating expected PERL report 2020-08-07 17:15:27 +02:00
Tudor Marghidanu
221f5862c7 Adjusting tests 2020-08-07 17:03:53 +02:00
Lukas Gravley
d082f4f6e4
Merge pull request #529 from github/BetterTests
Adding all codebase scan test
2020-08-07 09:22:17 -05:00
Lucas Gravley
2a162c85ab saved the world 2020-08-07 09:09:40 -05:00