Call-for-Code-for-Racial-Justice / Call-for-Code-for-Racial-Justice/TakeTwo-DataScience
Create GitHub actions to test new code before merging
- 主要語言
- Jupyter Notebook
- 星號
- 8
- 分支
- 8
- PR 合併指標
- 30 天內沒有已合併 PR
描述
### 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.
Prerequisite: This should be installed after we start adding python code to this repo.
### 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.
Each action will
- [ ] install dependencies
- [ ] build for production
- [ ] run all tests
- [ ] linting, we haven't chosen a linter so let's discuss options in the comments
### Tasks
- [ ] Ensure install, build and lint steps run locally on your system
- [ ] Read more about [GitHub actions](https://docs.github.com/en/actions/learn-github-actions), in the Build and Test section
- [ ] Create GitHub actions for each folder described above. You can read more [Python build actions here](https://docs.github.com/actions/automating-builds-and-tests/building-and-testing-nodejs-or-python?langId=py).
- [ ] Commit and push your GitHub action code.
- [ ] Go to the [Actions tab](https://github.com/Call-for-Code-for-Racial-Justice/TakeTwo-DataScience/actions) to see if it worked.
### Acceptance Criteria
- GitHub action runs for every new code commit and PR.
FYI @upkarlidder
貢獻指南
研究方向
先從連結的 GitHub Actions 文件和 Python build-actions 指南開始,接著檢查 repository,以確定其安裝、建置、測試和 lint 指令;issue 未指定特定檔案或測試。當 Actions 能針對新的 commit 和 pull request 執行,並完成約定的安裝、production build、測試和 lint 步驟時,即視為完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- github-actions, python
- 領域
- build-system, ci-cd, testing
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100