diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..1f2a10a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: giveme ci + +on: + push: + branches: [master] + pull_request: + branches: [master] + workflow_dispatch: +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10", "3.11"] + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + pip install -r requirements-dev.txt + - name: Test with pytest + run: | + pytest diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index db85d68..0000000 --- a/.travis.yml +++ /dev/null @@ -1,20 +0,0 @@ -language: python -python: -- '3.6' -- 3.6-dev -- '3.7' -- 3.7-dev -- '3.8' -- 3.8-dev -install: pip install -r requirements-dev.txt -script: pytest tests.py -deploy: - provider: pypi - username: __token__ - password: - secure: kS4vg4v8X17q4moQU4OfsaMKiudgz/ivL0KG1f+mMVSUrlEYR2EXdQtWQPbh7BVUcXd1/ufwkiDw8Qr0aoAxtTNVpUrD8WHGOV+f35pXzIcP0p6jbtnKEg1WCEkVA2cV4mhQVE57eYQzc2ye/2XcAxR7Phd16M0j57EGEhM2NJ8n7EY0Tvv6RXTFWwyqheYc+UfKpu0RJVSIAX6ME8VQ1gUngUQLRRySdwld7kFk6pABQxpwjRUMsAQLfMpG/JxhTmHLoAXrl1kwsQIzsDih/ifvPRbn3vBDhmhhSd7xxlW2wOrib3Of2M1mr2U7Ss6Y0LuIlmQF6XL9Qt5W4Q+34uWtomqokqatv39/0+sA6p69NC6xRHbBimMcQlsuvU2Pe4ycmf35PZwjXHsLcLq5sZul5dQhim2ObXhJEmzf04mfjzmMVaMBE5UahOV3FVgj2OtEuc0c3t+HpjjFD0AgyL9IDqhKx5SaEJa+AkabO4Y3VXe5CukJw4I1lqUegJwDrOl3NPWRsa5YnhUbytZtCh1ESTdpog9B5Msa977iezFRMgrl2BsGcVyITELXM5l9HqzoAWd6L6QMcpCEfj06dM5JuoQYhPiiMqOvSZOH1hQcMSs5rkkHJYJYOsSpYQwMnfg08rIVu0xoqee9ihx/9dAoPQ10IBuN8gsb5gCVpmQ= - distributions: sdist bdist_wheel - skip_existing: true - cleanup: false - on: - branch: master diff --git a/README.md b/README.md index ec72b0d..39f0cac 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ GiveMe has many more advanced options, for more examples and full API documentat `pip install giveme` -Python3.5 and up are supported. +Python3.8 and up are supported. diff --git a/requirements-dev.txt b/requirements-dev.txt index 6da5fa1..e01a820 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,3 @@ -pytest == 5.3.1 -pytest-cov == 2.8.1 -pytest-asyncio == 0.10.0 +pytest +pytest-cov +pytest-asyncio