atcupps / Jupiterp

A course schedule planning and building tool for University of Maryland students.
https://jupiterp.com
GNU Affero General Public License v3.0
9 stars 1 forks source link

Create actions for formatting, linting, and tests #6

Open atcupps opened 6 months ago

atcupps commented 6 months ago

The only job currently run on this project is checking that the project satisfies cargo clippy. Other actions should be created and used to check for both Rust and Svelte/TS formatting, linting, and tests.

atcupps commented 6 months ago

22 partially resolves this, though it does not add any workflows for testing or formatting the site component. We still need to determine how testing and formatting the Svelte/TS/JS parts of Jupiterp will work. So far, testing has just been done manually in browser using Chrome dev tools and a lot of console.log, and formatting rules for site don't really exist right now.

atcupps commented 6 months ago

Just spend about an hour trying to get prettier to work with eslint, and was not able to. May have to resort to manual checking for style in .svelte and .ts files

atcupps commented 5 months ago

Once #41 is merged, should create a new action to run that as well