Corrige workflows #28
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Descrição
Os workflows não estavam sendo executados corretamente, pois o github não suporta mais a versão 20.04 do ubuntu, que estava sendo usada no projeto.
Esse MR altera a versão do ubuntu usada em
.github/workflows/publish.ymle.github/workflows/tests.ymlpara a versão latest.Porém com essa alteração, foi também necessário alterar a forma como os testes são executados para a versão 3.7 do python, que não é mais incluída nas versões mais recentes do ubuntu. Por isso, foi adicionado um novo arquivo,
.github/workflows/tests37.yml, que executa os testes para a versão 3.7, utilizando uma imagem do python3.7.O arquivo
.github/workflows/run_tests_all_versions.ymlfoi alterado para executar os testes da versão 3.7 separadamente, e foi adicionada uma matrix para executar os testes nas versões mais recentes, com a inclusão das versões 3.11 e 3.12.