Skip to content

ENG-3405: Run the API tests on GitHub Actions - #116

Merged
marc-n-dream merged 2 commits into
masterfrom
sergei/eng-3405
Oct 6, 2026
Merged

marc-n-dream merged 2 commits into
masterfrom
sergei/eng-3405

Conversation

@sergei-n-dream

Copy link
Copy Markdown
Contributor

Replaces the Jenkins job "Test AirConsole API" with a GitHub Actions workflow, so Jenkins can be shut down without losing these tests.

  • The new Test AirConsole API workflow runs the six Jasmine runners through Playwright on ubuntu-24.04, on every branch push and every pull request (a PR commit from this repo runs twice), with a read-only token and no secrets.
  • Node 24.18.0 is pinned in .nvmrc, pnpm 11.13.1 in the workflow, and ci/pnpm-lock.yaml is committed for pnpm install --frozen-lockfile.
  • The docs workflows declare contents: write, run on ubuntu-24.04, and use actions/checkout@v7, actions/setup-python@v7 and peaceiris/actions-gh-pages@v4.

Testing: locally in ci/, pnpm install --frozen-lockfile passed and npx playwright test --project chromium gave 6 passed. actionlint on the three workflows passed. Not run on GitHub yet.
Out of scope: deleting ci/jenkins.groovy, which follows once the first master run is green and the Jenkins job is disabled.
Refs: https://ndream.atlassian.net/browse/ENG-3405

Replaces the Jenkins job "Test AirConsole API". ci/jenkins.groovy stays until the Jenkins job is disabled after the first green master run.
Declare contents: write, so the repo default token can be set to read-only. Pin the runner to ubuntu-24.04, move checkout and setup-python to v7 and actions-gh-pages to v4.
@sergei-n-dream sergei-n-dream self-assigned this Oct 5, 2026
Comment thread .github/workflows/deploy-api-docs.yml
pull_request:

permissions:
contents: read

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do we need the read permission for?

The information in the checkout we have and that should be the only thing we need, right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed we need just in case global repo / org permissions would change, now it allows everything or every workflow by default and we're narrowing down the permissions here to be future-proof

@marc-n-dream marc-n-dream left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marc-n-dream
marc-n-dream merged commit 961954f into master Oct 6, 2026
3 checks passed
@marc-n-dream
marc-n-dream deleted the sergei/eng-3405 branch October 6, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants