Fixed sampling #1372
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: Installation | |
on: | |
push: | |
branches: | |
- main | |
- release/* | |
pull_request: | |
branches: | |
- main | |
- release/* | |
workflow_dispatch: {} | |
jobs: | |
streaming-Pip-Install: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python_version: | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
install_version: | |
- "" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python_version }} | |
- name: Cache pip | |
uses: actions/cache@v3 | |
with: | |
# This path is specific to Ubuntu | |
path: ~/.cache/pip | |
# Look to see if there is a cache hit for the corresponding requirements file | |
key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
${{ runner.os }}- | |
- name: Setup | |
run: | | |
set -exuo pipefail | |
python -m pip install --upgrade pip wheel | |
python -m pip install .${{ matrix.install_version }} | |
- name: Run import | |
id: tests | |
run: | | |
set -exuo pipefail | |
python -c "import streaming" |