CI: update stuff (#1534)

* CI: skip SNI, skip unittests if not needed, run build for setup.py

* CI: update actions

* CI: update upload-artifact

Fixes more warnings
This commit is contained in:
black-sliver
2023-03-14 01:32:00 +01:00
committed by GitHub
parent 2a28a6de28
commit ca2c0e6ce2
5 changed files with 39 additions and 28 deletions

View File

@@ -3,7 +3,19 @@
name: unittests
on: [push, pull_request]
on:
push:
paths-ignore:
- 'docs/**'
- 'setup.py'
- '*.iss'
- '.gitignore'
pull_request:
paths-ignore:
- 'docs/**'
- 'setup.py'
- '*.iss'
- '.gitignore'
jobs:
build:
@@ -27,9 +39,9 @@ jobs:
os: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python.version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python.version }}
- name: Install dependencies