Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup integration tests for process.js #49

Open
joyeecheung opened this issue Jan 6, 2025 · 0 comments
Open

Setup integration tests for process.js #49

joyeecheung opened this issue Jan 6, 2025 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@joyeecheung
Copy link
Member

joyeecheung commented Jan 6, 2025

Locally, I have been doing this to run integration tests:

node --env-file actions/.env.bsky actions/test/integration.js

(as documented in the automation.md, too)

Which just copies the actions in https://github.com/nodejs/bluesky/tree/main/actions/test/examples/new to a temporary directy and run process.js on them to a live account https://bsky.app/profile/pixel-voyager.bsky.social

It would be nice to set up a test account (I don't mind donating pixel-voyager, but it's linked to a personal email and it feels weird) and some workflows that does this when the automation scripts are updated, to help verifying they are good. Ideally the workflows should be manually triggered to avoid getting rate-limited by Bluesky (not super likely since it's pretty relaxed in terms of limits, but it's good to avoid wasting resources on the planet).

@joyeecheung joyeecheung added enhancement New feature or request good first issue Good for newcomers labels Jan 6, 2025
@joyeecheung joyeecheung changed the title Setup integration tests Setup integration tests for process.js Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant