Opt out analytics in CI #5
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
# Run tests on Windows. | |
# Currently, Python3.11 is only used as an environment. | |
# This is mainly for the sake of speed. | |
name: Windows tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
workflow_dispatch: {} | |
jobs: | |
tests: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Install | |
run: | | |
python -m pip install -U pip | |
pip install --progress-bar off -U setuptools | |
pip install --progress-bar off ".[test]" | |
- name: Run Test | |
env: | |
OPTUNAHUB_NO_ANALYTICS: 1 | |
run: pytest tests |