diff --git a/.github/workflows/version_supports.yaml b/.github/workflows/version_supports.yaml new file mode 100644 index 00000000..a8260616 --- /dev/null +++ b/.github/workflows/version_supports.yaml @@ -0,0 +1,27 @@ +name: version supports + +on: + pull_request: + push: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + continue-on-error: true + strategy: + matrix: + python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ] + steps: + - name: Checkout repository + uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install tox tox-gh-actions + - name: Test package with tox + run: tox -vv \ No newline at end of file diff --git a/docker/Dockerfile b/docker/Dockerfile index 398a0ec4..bc1b7ebe 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -2,10 +2,8 @@ ARG IMAGE_PYTHON=${IMAGE_PYTHON:-python:3.10-slim-bullseye} FROM ${IMAGE_PYTHON} RUN apt-get update &&\ - apt-get -y install wget gcc &&\ - apt-get install -y rsyslog &&\ -# added for python 3.11/12 compliance - apt-get install -y g++ libgeos-dev + apt-get -y install wget &&\ + apt-get install -y rsyslog # Define working directory ARG PROJECT_DIR=/project