Skip to content

ci: bump upload-artifact action version #65

ci: bump upload-artifact action version

ci: bump upload-artifact action version #65

Workflow file for this run

name: test
on:
push:
pull_request:
schedule:
- cron: "0 8 1 * *"
jobs:
test:
name: test ${{ matrix.py }} - ${{ matrix.netapi }} - ${{ matrix.salt }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
py:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
netapi:
- "cherrypy"
salt:
- "v3006.7"
- "master"
exclude:
- py: "3.9"
salt: "master"
# py3.12 emoved module backports.ssl_match_hostname
# https://github.com/saltstack/salt/issues/65360
- py: "3.12"
salt: "v3006.7"
steps:
- name: Setup python for test ${{ matrix.py }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.py }}
- uses: actions/checkout@v4
- name: Install setuptools_scm
run: python -m pip install setuptools_scm
- name: Install tox
run: python -m pip install tox
- name: Setup tests
run: tox --notest -e py${{ matrix.py }}-${{ matrix.netapi }}-${{ matrix.salt }}
- name: Run tests
run: tox -e py${{ matrix.py }}-${{ matrix.netapi }}-${{ matrix.salt }}