Skip to content

Commit

Permalink
29: Removed setup.py (#30)
Browse files Browse the repository at this point in the history
* removed setup.py, updated poetry in actions
  • Loading branch information
MarleneKress79789 authored May 12, 2023
1 parent bb7c73b commit ccbf39f
Show file tree
Hide file tree
Showing 12 changed files with 633 additions and 753 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
setup.py linguist-generated=true
poetry.lock linguist-generated=true
2 changes: 1 addition & 1 deletion .github/actions/prepare_poetry_env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:
python-version: ${{ inputs.python-version }}
- uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.2.0
poetry-version: 1.4.0
- name: Poetry install
run: poetry install
shell: bash
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/check_setup_py.yaml

This file was deleted.

15 changes: 4 additions & 11 deletions .github/workflows/check_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,9 @@ jobs:
check-version-numbers:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.2.0
- name: SCM Checkout
uses: actions/checkout@v3
- name: Setup Python & Poetry Environment
uses: ./.github/actions/prepare_poetry_env
- name: Check Release
run: ./scripts/build/check_release.sh "python3.8"
21 changes: 9 additions & 12 deletions .github/workflows/run_ci_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,16 @@ on:
pull_request:

jobs:
check_setup_py:
run_unit_tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
- uses: abatilo/[email protected]
with:
poetry-version: 1.2.0
- name: Setup poetry env
run: bash scripts/build/setup_poetry_env.sh "python3.8"
- name: SCM Checkout
uses: actions/checkout@v3
- name: Setup Python & Poetry Environment
uses: ./.github/actions/prepare_poetry_env
- name: Setup poetry env
run: bash scripts/build/setup_poetry_env.sh "python3.8"

- name: Run pytest
run: poetry run pytest
- name: Run pytest
run: poetry run pytest
2 changes: 2 additions & 0 deletions doc/changes/changelog.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Changes

* [1.1.0](changes_1.1.0.md)
* [1.0.0](changes_1.0.0.md)
* [0.6.0](changes_0.6.0.md)
* [0.5.0](changes_0.5.0.md)
* [0.4.0](changes_0.4.0.md)
* [0.3.0](changes_0.3.0.md)
* [0.2.0](changes_0.2.0.md)
* [0.1.0](changes_0.1.0.md)

23 changes: 23 additions & 0 deletions doc/changes/changes_1.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# script-languages-container-ci 1.1.0, T.B.D

Code name: T.B.D

## Summary

T.B.D

## Bug Fixes

n/a

## Features / Enhancements

n/a

## Documentation

n/a

## Refactoring

- #29: Removed setup.py and updated poetry in actions
1 change: 0 additions & 1 deletion githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ REPO_DIR=$(git rev-parse --show-toplevel)
GITHOOKS_PATH="$REPO_DIR/githooks"
pushd "$REPO_DIR"
bash "$GITHOOKS_PATH/prohibit_commit_to_main.sh"
bash "$GITHOOKS_PATH/update_packaging.sh"
popd
44 changes: 0 additions & 44 deletions githooks/update_packaging.sh

This file was deleted.

1,215 changes: 592 additions & 623 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "exasol-script-languages-container-ci"
version = "1.0.0"
version = "1.1.0"
description = "Implements CI builds for script-language-container."

license = "MIT"
Expand Down
38 changes: 0 additions & 38 deletions setup.py

This file was deleted.

0 comments on commit ccbf39f

Please sign in to comment.