diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f2165155..6bd8c8d6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.7, 3.8, 3.9] + python-version: [3.6, 3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7a1ff996..885c2066 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,17 +1,39 @@ -name: Release - on: push: tags: - 'v*' +name: Create Release + jobs: + + Build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + python-version: [3.6, 3.7, 3.8, 3.9] + + steps: + - uses: actions/checkout@v2 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + + - uses: compas-dev/compas-actions.build@v1.0.0 + with: + test_lint: true + test_compas: true + Release: + needs: Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - name: Checkout code + uses: actions/checkout@v2 - name: Create Release - id: create_release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -21,7 +43,6 @@ jobs: draft: false prerelease: false - Publish: needs: Release runs-on: ubuntu-latest diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c520aad..6d6375de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Workflow for changelog check. +- Support for python 3.6 ### Changed diff --git a/setup.py b/setup.py index 1bd60ab8..1c892bc8 100644 --- a/setup.py +++ b/setup.py @@ -40,6 +40,7 @@ def read(*names, **kwargs): 'Operating System :: Microsoft :: Windows', 'Programming Language :: Python', 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9',