Skip to content

updated actions for node 20, ci only for 3.12 heh #336

updated actions for node 20, ci only for 3.12 heh

updated actions for node 20, ci only for 3.12 heh #336

name: build
on: [push, pull_request]
jobs:
test:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
include:
- name: 'check'
python: '3.12'
toxpython: 'python3.12'
tox_env: 'check'
os: 'ubuntu-latest'
- name: 'py312 (ubuntu)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312'
os: 'ubuntu-latest'
- name: 'py312 (macos)'
python: '3.12'
toxpython: 'python3.12'
python_arch: 'x64'
tox_env: 'py312'
os: 'macos-latest'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.python_arch }}
- name: install dependencies
run: |
python -mpip install --progress-bar=off -r ci/requirements.txt
virtualenv --version
pip --version
tox --version
pip list --format=freeze
- name: test
env:
TOXPYTHON: '${{ matrix.toxpython }}'
run: >
tox -e ${{ matrix.tox_env }} -v