start from beginning of day #50
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: install | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
name: test ${{ matrix.py }} - ${{ matrix.os }} - ${{ matrix.env }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
py: | |
- "3.11" | |
- "3.10" | |
- "3.9" | |
env: | |
- pip | |
- conda | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Conda | |
if: matrix.env == 'conda' | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
python-version: ${{ matrix.py }} | |
miniconda-version: "latest" | |
activate-environment: test-env | |
auto-update-conda: true | |
- name: Setup Python for pip | |
if: matrix.env == 'pip' | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.py }} | |
- name: Upgrade pip | |
run: python -m pip install -U pip | |
- name: Install pufferlib | |
run: pip install -e . |