-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#748 - GitHub Actions: JS unit testi: (#172)
* #748 GitHub Actions: JS unit testi: - added check_code.yml - added vitest_tests.yml - edited incremental-coverage-test.yml * #748 GitHub Actions: JS unit testi: - npm install * #748 GitHub Actions: JS unit testi: - removed: clover_coverage_json: vue/dynamicforms/coverage/coverage-final.json * #748 GitHub Actions: JS unit testi: - added: clover_coverage_json: vue/coverage/coverage-final.json * Test coverage * Coverage DEBUG * Coverage INFO * PR number * #748 GitHub Actions: JS unit testi: - added console.log('Hello'); to test .ts * #748 GitHub Actions: JS unit testi: - removed console.log('Hello'); from .ts file * #748 GitHub Actions: JS unit testi: - testing .ts * #748 GitHub Actions: JS unit testi: - undo testing .ts --------- Co-authored-by: Uros Tement <ut@scantron.si>
- Loading branch information
1 parent
70baaf0
commit 469640e
Showing
4 changed files
with
73 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Python check code | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python: [3.8, 3.9] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
- name: Install Tox and any other packages | ||
run: | | ||
pip install tox | ||
- name: Run Tox | ||
run: tox -e check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Vitest Tests | ||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18.13.0' | ||
- name: Install Dependencies | ||
run: npm ci | ||
- name: Test build | ||
run: npm run build-no-tsc --if-present | ||
- name: Run tests | ||
run: npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters