Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/client-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Client Unit Tests

on: [pull_request]

permissions:
checks: write
pull-requests: write

jobs:
run-client-tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./client
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 22
- name: Install npm 10
run: npm install -g npm@10
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test:run
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
check_name: 'Client Test Results'
junit_files: '**/client/junit/*.xml'
4 changes: 2 additions & 2 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
pip install -r requirements.txt -r test_requirements.txt
- name: Run ruff linter
run: |
ruff check $(git ls-files '*.py') --output-format github
ruff check . --output-format github
- name: Run ruff formatter
run: |
ruff format --check $(git ls-files '*.py')
ruff format --check .
1 change: 1 addition & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ jobs:
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
check_name: 'Python Test Results'
junit_files: '**/server/junit/*.xml'
2 changes: 2 additions & 0 deletions .idea/DigiScript-2.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ pnpm-debug.log*

# Generated documentation (copied from /docs during build)
public/docs/

# Test output
junit/
Loading
Loading