Skip to content

Commit

Permalink
ci: 💚 fixed ci
Browse files Browse the repository at this point in the history
  • Loading branch information
arctic-hen7 committed Sep 29, 2021
1 parent d123b9b commit 85b6712
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: cargo install bonnie
- run: bonnie copy-subcrates
- name: Run checks
run: bonnie check
test:
Expand All @@ -33,6 +34,7 @@ jobs:
- name: Run Firefox WebDriver
run: geckodriver &
- run: bonnie copy-subcrates
- run: bonnie ci-prep
- name: Run E2E tests
run: bonnie test example basic --headless
e2e-test-example-i18n:
Expand All @@ -45,6 +47,7 @@ jobs:
- name: Run Firefox WebDriver
run: geckodriver &
- run: bonnie copy-subcrates
- run: bonnie ci-prep
- name: Run E2E tests
run: bonnie test example i18n --headless
# This one is liable to fail for no particular reason (`geckodriver` seems to get tired...)
Expand All @@ -59,5 +62,6 @@ jobs:
- name: Run Firefox WebDriver
run: geckodriver &
- run: bonnie copy-subcrates
- run: bonnie ci-prep
- name: Run E2E tests
run: bonnie test example showcase --headless
6 changes: 6 additions & 0 deletions bonnie.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ check.cmd = [
]
check.desc = "checks code for formatting errors and the like"

ci-prep.cmd = [
"mkdir -p examples/basic/.perseus/dist",
"mkdir -p examples/basic/.perseus/dist/static",
]
ci-prep.desc = "creates empty directories to preserve the file structure that testing expects"

test.cmd = [
"cargo test", # This will ignore Wasm tests
# Run tests for each example
Expand Down

0 comments on commit 85b6712

Please sign in to comment.