From 636f635fea73a9fa5607ad64b57700faa109b7cc Mon Sep 17 00:00:00 2001 From: Freyja Odinthrir Date: Sat, 26 Oct 2024 01:04:21 -0700 Subject: [PATCH] fix workflow --- .gitea/workflows/python-package.yaml | 39 ++++------------------------ 1 file changed, 5 insertions(+), 34 deletions(-) diff --git a/.gitea/workflows/python-package.yaml b/.gitea/workflows/python-package.yaml index 5092000..1d16b31 100644 --- a/.gitea/workflows/python-package.yaml +++ b/.gitea/workflows/python-package.yaml @@ -9,8 +9,7 @@ on: jobs: - test: - name: Test Python 3.11 on Ubuntu + job1: runs-on: ubuntu-latest steps: @@ -21,47 +20,19 @@ jobs: - run: | make venv - - run: | - make test - - lint: - runs-on: ubuntu-latest - - steps: - - uses: https://github.com/actions/checkout@v4 - - uses: https://github.com/actions/setup-python@v5 - with: - python-version: "3.11" - - - run: | - make venv - - run: | - make lint - - mypy: - runs-on: ubuntu-latest - - steps: - - uses: https://github.com/actions/checkout@v4 - - uses: https://github.com/actions/setup-python@v5 - with: - python-version: "3.11" - - - run: | - make venv - - run: | - make test - run: | make lint - run: | make mypy + - run: | + make test - run: | make test-release - - name: Upload to PyPI + name: Push to docker pypi registry. env: TWINE_USERNAME: ${{ secrets.REGISTRY_USERNAME }} TWINE_PASSWORD: ${{ secrets.REGISTRY_TOKEN }} TWINE_REPOSITORY_URL: "https://gitea.raer.me/api/packages/freyjagp/pypi" run: | - pipenv run python3 -m twine upload --verbose dist/* + python3 -m twine upload --verbose dist/*