Skip to content

Commit

Permalink
Support python3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
vyahello committed Apr 12, 2022
1 parent d992fe0 commit 76e1688
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/assess-code.yml

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Continuous Integration 🐍
on: [push]
env:
PACKAGE_NAME: pytest-emoji-output
PACKAGE_VERSION: 0.1.10
jobs:
build_and_verify:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
python-version:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Static code analysis and unit tests
run: ./analyse-code.sh
- name: Build package
run: python setup.py install
- name: Setup BATS
uses: mig4/setup-bats@v1
with:
bats-version: 1.2.1
- name: Integration tests
run: bats test-package.bats
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ python:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
addons:
apt:
update: true
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def __packages_to_not_install() -> Sequence[str]:
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: OS Independent",
f"License :: OSI Approved :: {__license__} License",
Expand Down

0 comments on commit 76e1688

Please sign in to comment.