Skip to content

Commit

Permalink
Separate python tests from jest tests
Browse files Browse the repository at this point in the history
Separate python tests from jest tests
  • Loading branch information
jrief committed Jun 13, 2024
1 parent e59425c commit 9564181
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 2 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/testparser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Test django-formset's parsers

on:
push:
branches:
- releases/*
paths:
- '/assets/*.pegjs'
- '/client/tests/*.ts'
pull_request:
branches:
- develop
paths:
- '/assets/*.pegjs'
- '/client/tests/*.ts'

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["18.x"]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Build Parsers
run: |
npm run tag-attributes
npm run function-code
- name: Run tests
run: |
npm run testclient
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ jobs:
run: |
npm run ${{ matrix.build-client }}
npm run compilescss
- name: Run tests
- name: Test with pytest
run: |
python -m pytest testapp
npm run testclient

0 comments on commit 9564181

Please sign in to comment.