Make suppress_output
compatible with Windows
#122
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: Tests | |
on: pull_request | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash | |
strategy: | |
matrix: | |
julia-version: ['1.10'] | |
python-version: ['3.10'] | |
os: [ubuntu-latest, macos-latest, macos-14, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Set up Julia" | |
uses: julia-actions/setup-julia@v1 | |
with: | |
version: ${{ matrix.julia-version }} | |
- name: "Cache Julia" | |
uses: julia-actions/cache@v1 | |
with: | |
cache-name: ${{ matrix.os }}-test-${{ matrix.julia-version }}-${{ matrix.python-version }} | |
cache-packages: false | |
- name: "Set up Python" | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: pip | |
- name: "Install AutoEIS" | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e .[test] | |
# Install Julia dependencies at first import | |
python -c "import autoeis" | |
- name: "Run tests" | |
run: | | |
pytest -v tests/ |