Skip to content

Commit

Permalink
ci: tiny improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
BoboTiG committed Apr 5, 2023
1 parent fcaf382 commit 4e89770
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Tests

on:
push:
branchs:
branches:
- master
pull_request:
paths:
Expand All @@ -20,7 +20,7 @@ jobs:
ref: ${{ github.event.inputs.branch }}
- uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.x"
- name: Install test dependencies
run: python -m pip install -U pip wheel tox
- name: Tests
Expand All @@ -35,7 +35,7 @@ jobs:
ref: ${{ github.event.inputs.branch }}
- uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.x"
- name: Install test dependencies
run: python -m pip install -U pip wheel tox
- name: Tests
Expand All @@ -50,7 +50,7 @@ jobs:
ref: ${{ github.event.inputs.branch }}
- uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.x"
- name: Install test dependencies
run: python -m pip install -U pip wheel tox
- name: Tests
Expand All @@ -63,7 +63,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python: [" 3.7", " 3.8", "3.9", "3.10", "3.11"]
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -73,12 +73,12 @@ jobs:
python-version: ${{ matrix.python }}
- name: Install test dependencies
run: python -m pip install -U pip wheel tox
- name: Tests
- name: Tests on GNU/Linux
if: matrix.os == 'ubuntu-latest'
run: |
export DISPLAY=:99
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 &
sudo Xvfb -ac ${DISPLAY} -screen 0 1280x1024x24 > /dev/null 2>&1 &
python -m tox -e py
- name: Tests
- name: Tests on other platforms
if: matrix.os != 'ubuntu-latest'
run: python -m tox -e py
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ History:

7.0.1 2022/10/27
- fixed the wheel package
- dropped support for Python 3.6
- removed support for Python 3.6
- MSS: fixed PEP 484 prohibits implicit Optional

7.0.0 2022/10/27
Expand Down

0 comments on commit 4e89770

Please sign in to comment.