Skip to content

Commit

Permalink
Chore | Migrate to GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
geototti21 committed Dec 8, 2023
1 parent 6ec3e61 commit 414150a
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 21 deletions.
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
root = true

[*]
charset = utf-8
trim_trailing_whitespace = true
end_of_line = lf
insert_final_newline = true

[*.{yml,yaml}]
indent_style = space
indent_size = 2

[*.{markdown,md}]
trim_trailing_whitespace = false
27 changes: 27 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: python
on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: Install dependencies
run: python -m pip install --upgrade pip poetry

- name: Install poetry
run: poetry install

- name: Run linter
run: make lint

- name: Run tests
run: make tests

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ include = [
"LICENSE",
]
[tool.poetry.dependencies]
python = "^3.7"
python = "^3.12"
boto3 = "^1.9"

[tool.poetry.dev-dependencies]
Expand Down

0 comments on commit 414150a

Please sign in to comment.