diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 26807c12..477e1fe1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3, 3.5, 3.6, 3.7, 3.8] + python-version: [3, 3.5, 3.6, 3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/.github/workflows/test_workflows.yml b/.github/workflows/test_workflows.yml index 887a0d38..a084c811 100644 --- a/.github/workflows/test_workflows.yml +++ b/.github/workflows/test_workflows.yml @@ -31,30 +31,29 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: git setup + with: + token: ${{ secrets.RELEASEBOT_TOKEN }} + - name: tag run: | git config --local user.email "${GITHUB_ACTOR}@users.noreply.github.com" git config --local user.name "${GITHUB_ACTOR}" - git remote add action https://x-access-token:${RELEASEBOT_TOKEN}@github.com/${GITHUB_REPOSITORY}.git - - name: tag - run: | git tag --force ${TEST_TAG} - git push --force action ${TEST_TAG} + git push --force origin ${TEST_TAG} sed "s/^ version=.*/ version='0.0.0',/" -i setup.py git add setup.py git commit -m "testing bump commit" git checkout -b ${TEST_RELEASE} git show-ref echo "Pushing to ${TEST_RELEASE}" - git push --force action ${TEST_RELEASE} + git push --force origin ${TEST_RELEASE} git tag --force ${TEST_TAG} - git push --force action ${TEST_TAG} + git push --force origin ${TEST_TAG} - name: cleanup tag if: ${{ always() }} - run: git push --delete action ${TEST_TAG} + run: git push --delete origin ${TEST_TAG} - name: cleanup branch if: ${{ always() }} - run: git push --delete action ${TEST_RELEASE} + run: git push --delete origin ${TEST_RELEASE} test-docker: if: contains(github.event.pull_request.labels.*.name, 'test-docker') diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 9de4d9a1..3f21d3c0 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -58,7 +58,7 @@ { "label": "update", "type": "shell", - "command": "pip3 install --user -r requirements.txt --upgrade", + "command": "pip3 install --upgrade pip && pip3 install --user -r requirements.txt --upgrade", "problemMatcher": [] }, ] diff --git a/Dockerfile b/Dockerfile index f3a5bb99..3c4a2d03 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.8-alpine +FROM python:3.9-alpine WORKDIR /tmp COPY mkdocs_simple_plugin mkdocs_simple_plugin diff --git a/docs/mkdocs-simple-gen.md b/docs/mkdocs-simple-gen.md index f3f3a22d..0c3a20d7 100644 --- a/docs/mkdocs-simple-gen.md +++ b/docs/mkdocs-simple-gen.md @@ -10,7 +10,7 @@ Install the plugin with pip. pip install mkdocs-simple-plugin ``` -_Python 3.x, 3.5, 3.6, 3.7, 3.8 supported._ +_Python 3.x, 3.5, 3.6, 3.7, 3.8, 3.9 supported._ ### Command line options diff --git a/docs/mkdocs-simple-plugin.md b/docs/mkdocs-simple-plugin.md index e6477fc2..6052f6d2 100644 --- a/docs/mkdocs-simple-plugin.md +++ b/docs/mkdocs-simple-plugin.md @@ -10,7 +10,7 @@ Install the plugin with pip. pip install mkdocs-simple-plugin ``` -_Python 3.x, 3.5, 3.6, 3.7, 3.8 supported._ +_Python 3.x, 3.5, 3.6, 3.7, 3.8, 3.9 supported._ ### Plugin usage diff --git a/setup.py b/setup.py index d993bafa..3e37f863 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,8 @@ 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8' + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9' ], packages=setuptools.find_packages(), entry_points={