Don't install the CLI
This commit is contained in:
2 files changed
+8
-7
No files matched your search
@@ -33,11 +33,12 @@ jobs:
|
|||||||
run: npm install -D @playwright/test
|
run: npm install -D @playwright/test
|
||||||
- name: Install Playwright Browsers
|
- name: Install Playwright Browsers
|
||||||
run: npx playwright install --with-deps
|
run: npx playwright install --with-deps
|
||||||
- name: Install Dioxus CLI
|
# Cache the CLI by using cargo run internally
|
||||||
uses: actions-rs/cargo@v1
|
# - name: Install Dioxus CLI
|
||||||
with:
|
# uses: actions-rs/cargo@v1
|
||||||
command: install
|
# with:
|
||||||
args: --path packages/cli
|
# command: install
|
||||||
|
# args: --path packages/cli
|
||||||
- name: Run Playwright tests
|
- name: Run Playwright tests
|
||||||
run: npx playwright test
|
run: npx playwright test
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ module.exports = defineConfig({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
cwd: path.join(process.cwd(), "playwright-tests", "web"),
|
cwd: path.join(process.cwd(), "playwright-tests", "web"),
|
||||||
command: "dx serve",
|
command: "cargo run --package dioxus-cli -- serve",
|
||||||
port: 8080,
|
port: 8080,
|
||||||
timeout: 10 * 60 * 1000,
|
timeout: 10 * 60 * 1000,
|
||||||
reuseExistingServer: !process.env.CI,
|
reuseExistingServer: !process.env.CI,
|
||||||
@@ -90,7 +90,7 @@ module.exports = defineConfig({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
cwd: path.join(process.cwd(), 'playwrite-tests', 'fullstack'),
|
cwd: path.join(process.cwd(), 'playwrite-tests', 'fullstack'),
|
||||||
command: 'dx build --features web --release\ncargo run --release --features ssr',
|
command: 'cargo run --package dioxus-cli -- build --features web --release\ncargo run --release --features ssr',
|
||||||
port: 3333,
|
port: 3333,
|
||||||
timeout: 10 * 60 * 1000,
|
timeout: 10 * 60 * 1000,
|
||||||
reuseExistingServer: !process.env.CI,
|
reuseExistingServer: !process.env.CI,
|
||||||
|
|||||||
Reference in new issue
Block a user