Call-for-Code-for-Racial-Justice / Call-for-Code-for-Racial-Justice/TakeTwo-DataScience

Create GitHub actions to test new code before merging

Aberta
#24 2 comentários 0 reações 0 responsáveis Ver no GitHub
CI/CD Machine Learning stale
Linguagem predominante
Jupyter Notebook
Estrelas
8
Forks
8
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

### 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

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Comece pela documentação vinculada do GitHub Actions e pelo guia de Python build-actions; em seguida, inspecione o repositório para determinar seus comandos de instalação, build, testes e linting; a issue não especifica arquivos ou testes. O trabalho estará concluído quando o Actions for executado para novos commits e pull requests e concluir as etapas acordadas de instalação, production build, testes e linting.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
github-actions, python
Domínio
build-system, ci-cd, testing
Tipo de issue
Funcionalidade
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.