diff --git a/.github/workflows/accessibility.yml b/.github/workflows/accessibility.yml index d37b0fbe49..d9a3fb94a2 100644 --- a/.github/workflows/accessibility.yml +++ b/.github/workflows/accessibility.yml @@ -2,8 +2,7 @@ name: Accessibility on: push: branches: - - main - - "3.*" + - "3.5" jobs: cypress-axe: name: cypress-axe @@ -18,6 +17,7 @@ jobs: uses: canonical/setup-maas@main with: maas-url: ${{env.MAAS_URL}}/MAAS + channel: 3.5/beta - name: Install Cypress uses: cypress-io/github-action@v4 with: diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 384ca84c4b..06eccf604f 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -2,9 +2,7 @@ name: Cypress on: push: branches: - - main - - "3.*" - - "*cypress*" + - "3.5" pull_request: types: [opened, synchronize, reopened] @@ -15,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - groups: ['no-users', 'with-users'] + groups: ["no-users", "with-users"] env: MAAS_URL: http://localhost:5240 MAAS_UI_URL: http://localhost:8400 @@ -27,6 +25,7 @@ jobs: uses: canonical/setup-maas@main with: maas-url: ${{ env.MAAS_URL }}/MAAS + channel: 3.5/beta - name: Install Cypress uses: cypress-io/github-action@v4 with: @@ -70,4 +69,4 @@ jobs: WORKFLOW: ${{ github.workflow }} with: filename: .github/ISSUE_TEMPLATE/ci-failure.md - update_existing: true \ No newline at end of file + update_existing: true diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index db34c24a74..bd0ae244f2 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -1,7 +1,8 @@ name: Playwright Tests on: push: - branches: [main] + branches: + - "3.5" jobs: test: timeout-minutes: 15 @@ -12,7 +13,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version-file: '.nvmrc' + node-version-file: ".nvmrc" - name: Install dependencies run: yarn - name: Install Playwright Browsers @@ -21,6 +22,7 @@ jobs: uses: canonical/setup-maas@main with: maas-url: ${{env.MAAS_URL}}/MAAS + channel: 3.5/beta - name: Create MAAS admin run: sudo maas createadmin --username=admin --password=test --email=fake@example.org - name: Wait for MAAS UI to be ready diff --git a/.github/workflows/sitespeed.yml b/.github/workflows/sitespeed.yml index c7c9d159c4..5ad9d5513b 100644 --- a/.github/workflows/sitespeed.yml +++ b/.github/workflows/sitespeed.yml @@ -2,8 +2,7 @@ name: sitespeed.io on: push: branches: - - main - - "3.*" + - "3.5" jobs: run-sitespeed: name: Run sitespeed.io @@ -19,6 +18,7 @@ jobs: uses: canonical/setup-maas@main with: maas-url: ${{ env.MAAS_URL }}/MAAS + channel: 3.5/beta use-maasdb-dump: true maasdb-dump-url: https://github.com/canonical/maas-ui-testing/raw/main/db/maasdb-22.04-master-1000.dump - name: Create MAAS admin diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3352456ca1..b42767872f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,7 @@ name: CI on: push: branches: - - main + - "3.5" pull_request: types: [opened, synchronize, reopened] jobs: @@ -20,7 +20,7 @@ jobs: - name: Use Node.js from .nvmrc uses: actions/setup-node@v4 with: - node-version-file: '.nvmrc' + node-version-file: ".nvmrc" - name: Install if: steps.yarn-cache.outputs.cache-hit != 'true' run: CYPRESS_INSTALL_BINARY=0 yarn install @@ -40,7 +40,7 @@ jobs: - name: Use Node.js from .nvmrc uses: actions/setup-node@v4 with: - node-version-file: '.nvmrc' + node-version-file: ".nvmrc" - name: Install if: steps.yarn-cache.outputs.cache-hit != 'true' run: CYPRESS_INSTALL_BINARY=0 yarn install @@ -61,7 +61,7 @@ jobs: - name: Use Node.js from .nvmrc uses: actions/setup-node@v4 with: - node-version-file: '.nvmrc' + node-version-file: ".nvmrc" - name: Install if: steps.yarn-cache.outputs.cache-hit != 'true' run: CYPRESS_INSTALL_BINARY=0 yarn install diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml index 714ceb8040..66ed06424a 100644 --- a/.github/workflows/upload.yml +++ b/.github/workflows/upload.yml @@ -2,8 +2,7 @@ name: Build upload on: push: branches: - - main - - "3.*" + - "3.5" jobs: upload-build: if: github.repository_owner == 'canonical' @@ -25,7 +24,7 @@ jobs: - name: Use Node.js from .nvmrc uses: actions/setup-node@v4 with: - node-version-file: '.nvmrc' + node-version-file: ".nvmrc" - name: Install if: steps.yarn-cache.outputs.cache-hit != 'true' run: CYPRESS_INSTALL_BINARY=0 yarn install