Call-for-Code-for-Racial-Justice / Truth-Loop

The Truth-Loop solution helps communities simply understand the policies, regulations and legislation that will impact them the most and allows them to share their experiences around how policies have impacted them or how proposed policies could impact them using short video testimonials.
https://developer.ibm.com/tutorials/truth-loop/
Apache License 2.0
54 stars 29 forks source link

Create GitHub actions to test any code before merging #160

Closed upkarlidder closed 3 years ago

upkarlidder commented 3 years ago

Background on the problem the feature will solve/improved user experience

Add GitHub Actions to test and build new code pushed to a branch or committed to a pull request. Code that passes all the steps in the GitHub action can be merged in the repository.

Describe the solution you'd like

A GitHub action runs whenever code is committed to any branch or PR is made to the main branch for each of the following components:

Refer to a similar action that was implemented for the UI folder in Five Fifths Voter project.

Each action will

Tasks

Acceptance Criteria

GitHub action runs for every new code commit and PR.

FYI @demilolu

ghost commented 3 years ago

I've done the same for FairChange. Can I take this issue?

upkarlidder commented 3 years ago

@markstur ^^

ghost commented 3 years ago

Hi! I added github actions for the server and client. The server one is giving me a lot of errors when executing npm test. Does anyone know if the tests are broken or if I am missing a setup step? Here a link to the build error - > https://github.com/arianahl/Truth-Loop/runs/3965866995?check_suite_focus=true

markstur commented 3 years ago

@arianahl Maybe skip the react-admin under server. Try this. I get errors there too. "test": "jest --detectOpenHandles --testPathIgnorePatterns react-admin",

markstur commented 3 years ago

Closed with #229 (and #240 )