From 61ebbda2d95add0333d3621cffdd3d8cdae4a3cf Mon Sep 17 00:00:00 2001 From: huang quanyong Date: Wed, 14 Feb 2024 21:41:48 +0800 Subject: [PATCH] mod rm travis config & mod github action config --- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 6 +++--- .travis.yml | 12 ------------ 3 files changed, 5 insertions(+), 17 deletions(-) delete mode 100644 .travis.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6b38a6d..f7cb680 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,6 +31,6 @@ jobs: # retrieve your distributions here - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - with: - repository-url: https://test.pypi.org/legacy/ + # with: + # repository-url: https://test.pypi.org/legacy/ diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4eb1ad5..86c2c71 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,7 @@ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python -name: test +name: Test on: push: @@ -19,9 +19,9 @@ jobs: python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 2a81ee7..0000000 --- a/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -language: python -python: - - "2.7" - - "3.7" - # does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa - # maintainers to fix their pypy-dev package. - - "pypy" -# command to install dependencies -install: - - pip install pillow -# command to run tests -script: python test.py \ No newline at end of file