8000 Move tests, create makefile action to run tests on examples (#433) · Siddharth-cmd/pyscript@a9470ed · GitHub
[go: up one dir, main page]

Skip to content

Commit a9470ed

Browse files
marimeirelespww217fpliger
authored
Move tests, create makefile action to run tests on examples (pyscript#433)
* Move tests, create makefile action to run tests on examples * Correct import file for html files * Build environment for tests * Fix the CI * rearrange CI * fix find cmd and make sure we don't delete the folder implicitly * more rearranging * fix folder permissions and custom sed for subfolders * add toga wheels files * re-add missing file * mirror latest changes in alpha ci * fix find cmd * try different fix for find * remove redundant build Co-authored-by: mariana <marianameireles@protonmail.com> Co-authored-by: pww217 <pwilson@anaconda.com> Co-authored-by: Fabio Pliger <fabio.pliger@gmail.com>
1 parent 2c5ef95 commit a9470ed

File tree

111 files changed

+23
-3969
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+23
-3969
lines changed

.github/workflows/build-alpha.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,12 @@ jobs:
4747
- name: setup Miniconda
4848
uses: conda-incubator/setup-miniconda@v2
4949

50-
- name: Install dependencies
51-
run: |
52-
npm install
53-
make setup
50+
- name: Setup Environment
51+
run: make setup
5452

55-
- name: Test pyscript
53+
- name: Build and Test
5654
run: make test
5755

58-
- name: Build pyscript
59-
run: make build
60-
6156
# Deploy to S3
6257
- name: Configure AWS credentials
6358
if: github.ref == 'refs/heads/main' # Only deploy on merge into main

.github/workflows/build-latest.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,12 @@ jobs:
5555
- name: setup Miniconda
5656
uses: conda-incubator/setup-miniconda@v2
5757

58-
- name: Install dependencies
59-
run: |
60-
npm install
61-
make setup
58+
- name: Setup Environment
59+
run: make setup
6260

63-
- name: Test pyscript
61+
- name: Build and Test
6462
run: make test
6563

66-
- name: Build pyscript
67-
run: make build
68-
6964
# Deploy to S3
7065
- name: Configure AWS credentials
7166
if: github.ref == 'refs/heads/main' # Only deploy on merge into main

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ coverage.xml
5151
*.py,cover
5252
.hypothesis/
5353
.pytest_cache/
54+
pyscriptjs/examples
5455

5556
# Translations
5657
*.mo
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)
0