Skip to content

Commit

Permalink
Merge pull request #16 from luizcdc/test-ubuntu-image
Browse files Browse the repository at this point in the history
Coloca publicação e testes para executar no ubuntu-20.04 e python 3.6
  • Loading branch information
gabrielpeixoto committed Sep 27, 2023
2 parents 525ec5c + 648373a commit bfbe6e8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
secrets: inherit

build-and-publish:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04 # Python 3.6 is not supported by ubuntu-latest
needs: [ run-tests ]

steps:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/run_tests_all_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ on:

jobs:

call-tests-3-6:
uses: ./.github/workflows/tests.yml
with:
version: "3.6"
secrets: inherit

call-tests-3-7:
uses: ./.github/workflows/tests.yml
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:
description: "Python version to use"
type: string
required: false
default: "3.7"
default: "3.6"

jobs:
build-and-run-tests:
runs-on: ubuntu-latest # Python 3.7 is the oldest version currently supported by ubuntu-latest
runs-on: ubuntu-20.04 # Python 3.6 is not supported by ubuntu-latest

steps:
- name: Checkout sources
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "escavador"
version = "0.5.0"
version = "0.5.1"
description = "A library to interact with Escavador API"
authors = [
"Rafael <rafaelcampos@escavador.com>",
Expand All @@ -20,7 +20,6 @@ cchardet = "^2.1.7"
python-dotenv = "^0.19.2"
ratelimit = "*"
dataclasses = "*"
importlib = "*"
importlib_metadata = "*"

[tool.black]
Expand Down

0 comments on commit bfbe6e8

Please sign in to comment.