Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run unit tests in CI #2

Merged
merged 2 commits into from
Jul 20, 2023
Merged

Run unit tests in CI #2

merged 2 commits into from
Jul 20, 2023

Conversation

itayox
Copy link
Contributor

@itayox itayox commented Jul 20, 2023

Adding a workflow using Github actions to run unit tests on push events

@itayox itayox self-assigned this Jul 20, 2023
@itayox itayox merged commit e51f483 into development Jul 20, 2023
1 check passed
@itayox itayox deleted the run-ci-unit-tests branch July 23, 2023 13:32
eyalatox added a commit that referenced this pull request Aug 7, 2023
nvuillam added a commit that referenced this pull request Aug 7, 2023
* Initial commit

* Run unit tests in CI

* Change workflow file name

* Run lint and build in CI

* Rename workflow file to build

* Load configuration from ENV variables using dotenv

* Add a note about .env file in the readme

* Fix production build not loading configuration properly

* Update README.md

Update .env variable info

* Fix jest and cypress types collision

* Fix typo in readme

* Dockerfile + docker-compose + Github Actions (#8)

* Dockerfile init

* Multistage

* dev version

* Copy node_modules

* Working docker-compose v0

* github job perms

* Docker-compose for different purposes

* Deploy Beta

---------

Co-authored-by: Nicolas Vuillamy <[email protected]>

* Display megalinter errors to the user

* Remove unused code

* Move form loader to the button

* Add file upload loader

* Fix file upload form transition

* Fix highlight in light mode

* Adding language detection for snippet code

* Add back to homepage button

* Add file uploader unit tests

* Breakdown language-detection

* Simplify use of language detection

* Move reolve icon

* Rename name map file

* Move resolveId and test

* Unit test language detection

* toBeUndefined();

* Small UI fixes

* Export issues to CSV

* Online documentation for GitHub Pages (#17)

* Doc v0

* Change npm i to npm ci

* v0.1

* More doc :)

* links to ML & OX

* fix doc

---------

Co-authored-by: Nicolas Vuillamy <[email protected]>
Co-authored-by: itayox <[email protected]>

* MegaLinter setup (#18)

* MegaLinter setup

* Fixes

* Disable pre-commit handled linters

* Use Cupcake flavor

* config

* Fixes

* cspell + semver upgrade

* Config

* Upgrade ML to 7.2.1

* lycheeignore

* disable kics & csslint + config trivy

* checkov + jscpd

* Disable temporary some linters

---------

Co-authored-by: Nicolas Vuillamy <[email protected]>

* Fix jscpd config (#19)

Co-authored-by: Nicolas Vuillamy <[email protected]>

* HTTP server breakdown

* Fix typescript error

* Docs + CNAME

* Previous version display

* Add retry mechanism

* Update debugging information

* Enable re-scanning

* Remove text transform

* Migrate turbo-repo

* Fix switching between reports

* Fix button not clickable

* Reset report store on init

* Replace Megalinter with MegaLinter label (#24)

* Replace Megalinter with MegaLinter label

* Inline disable devskim false positive

---------

Co-authored-by: Nicolas Vuillamy <[email protected]>

* Fix footer text

* Move api routes under /api and serve index.html for all GET requests

* http unit tests

* Add the test file

* Add static folder path to unit test

* Release management

* Move parseSBOM

* Fix unit test

* Increase resource value text limit to 600px

* Images versions + README

* cspell

* Aply ML fixes

* Quick Start

* SBOM for python

* SBOM for python

* SBOM for python #2

* Update contributing examples with iconPngUrl

* Use megalinter api beta

* [MegaLinter] Apply linters fixes

---------

Co-authored-by: Itay <[email protected]>
Co-authored-by: itayox <[email protected]>
Co-authored-by: Nicolas Vuillamy <[email protected]>
Co-authored-by: eyalatox <[email protected]>
Co-authored-by: Eyal Paz <[email protected]>
Co-authored-by: nvuillam <[email protected]>
nvuillam added a commit that referenced this pull request Aug 7, 2023
* Initial commit

* Run unit tests in CI

* Change workflow file name

* Run lint and build in CI

* Rename workflow file to build

* Load configuration from ENV variables using dotenv

* Add a note about .env file in the readme

* Fix production build not loading configuration properly

* Update README.md

Update .env variable info

* Fix jest and cypress types collision

* Fix typo in readme

* Dockerfile + docker-compose + Github Actions (#8)

* Dockerfile init

* Multistage

* dev version

* Copy node_modules

* Working docker-compose v0

* github job perms

* Docker-compose for different purposes

* Deploy Beta

---------

Co-authored-by: Nicolas Vuillamy <[email protected]>

* Display megalinter errors to the user

* Remove unused code

* Move form loader to the button

* Add file upload loader

* Fix file upload form transition

* Fix highlight in light mode

* Adding language detection for snippet code

* Add back to homepage button

* Add file uploader unit tests

* Breakdown language-detection

* Simplify use of language detection

* Move reolve icon

* Rename name map file

* Move resolveId and test

* Unit test language detection

* toBeUndefined();

* Small UI fixes

* Export issues to CSV

* Online documentation for GitHub Pages (#17)

* Doc v0

* Change npm i to npm ci

* v0.1

* More doc :)

* links to ML & OX

* fix doc

---------

Co-authored-by: Nicolas Vuillamy <[email protected]>
Co-authored-by: itayox <[email protected]>

* MegaLinter setup (#18)

* MegaLinter setup

* Fixes

* Disable pre-commit handled linters

* Use Cupcake flavor

* config

* Fixes

* cspell + semver upgrade

* Config

* Upgrade ML to 7.2.1

* lycheeignore

* disable kics & csslint + config trivy

* checkov + jscpd

* Disable temporary some linters

---------

Co-authored-by: Nicolas Vuillamy <[email protected]>

* Fix jscpd config (#19)

Co-authored-by: Nicolas Vuillamy <[email protected]>

* HTTP server breakdown

* Fix typescript error

* Docs + CNAME

* Previous version display

* Add retry mechanism

* Update debugging information

* Enable re-scanning

* Remove text transform

* Migrate turbo-repo

* Fix switching between reports

* Fix button not clickable

* Reset report store on init

* Replace Megalinter with MegaLinter label (#24)

* Replace Megalinter with MegaLinter label

* Inline disable devskim false positive

---------

Co-authored-by: Nicolas Vuillamy <[email protected]>

* Fix footer text

* Move api routes under /api and serve index.html for all GET requests

* http unit tests

* Add the test file

* Add static folder path to unit test

* Move parseSBOM

* Fix unit test

* Increase resource value text limit to 600px

* Add loading state to SBOM tab panel

* SBOM for python

* SBOM for python

* SBOM for python #2

* Renaming and moving files around

* Fix details panel

* Disable details tab

* Fix submit button loader position

* Remove unused files

* Remove duplicate files

* [MegaLinter] Apply linters fixes

* Try resolve stylelint css error

* Try resolve stylelint css error

* [MegaLinter] Apply linters fixes

---------

Co-authored-by: Nicolas Vuillamy <[email protected]>
Co-authored-by: Nicolas Vuillamy <[email protected]>
Co-authored-by: eyalatox <[email protected]>
Co-authored-by: Eyal Paz <[email protected]>
Co-authored-by: itayox <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant