diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 587bf04..c6666b0 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -23,9 +23,15 @@ jobs: OSS_BUCKET_NAME: ${{ secrets.OSS_BUCKET_NAME }} OSS_ACCESS_KEY_ID: ${{ secrets.OSS_ACCESS_KEY_ID }} OSS_ACCESS_KEY_SECRET: ${{ secrets.OSS_ACCESS_KEY_SECRET }} - shell: pwsh run: | - . "./build/build_and_test.ps1" + wget https://github.com/jgm/pandoc/releases/download/3.1.11/pandoc-3.1.11-1-amd64.deb + sudo dpkg -i pandoc-3.1.11-1-amd64.deb + pandoc -v + pip install -r "./build/requirements.txt" + pip install -U setuptools build pytest twine + python -m build + pip install ./dist/*.whl + pytest ./tests # - run: twine upload dist/*.whl -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} # - name: Upload coverage reports to Codecov diff --git a/build/build_and_test.ps1 b/build/build_and_test.ps1 deleted file mode 100644 index ec9ea06..0000000 --- a/build/build_and_test.ps1 +++ /dev/null @@ -1,5 +0,0 @@ -pip install -r "${PSScriptRoot}/requirements.txt" -pip install -U setuptools build pytest twine -python -m build -pip install ./dist/*.whl -pytest \ No newline at end of file