Update CI Env #545
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Python Unit Tests | |
on: | |
pull_request: | |
branches: | |
- master | |
workflow_call: | |
workflow_dispatch: | |
permissions: {} | |
jobs: | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-14 | |
- ubuntu-24.04 | |
- windows-2022 | |
python-version: | |
- '3.8' | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
- '3.12' | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/[email protected] | |
- name: Install Python 3 | |
uses: actions/[email protected] | |
with: | |
cache: 'pip' | |
cache-dependency-path: '**/pyproject.toml' | |
check-latest: true | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools wheel | |
pip install .[arelle,dev] | |
pip install tox tox-gh-actions | |
- name: Test with tox | |
run: tox |