Sync main/develop #381
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: Build | |
on: | |
push: | |
branches: [ main, develop ] | |
pull_request: | |
branches: [ main, develop ] | |
jobs: | |
build_and_test: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
lfs: true | |
submodules: recursive | |
- name: Setup pyenv | |
uses: "gabrielfalcao/pyenv-action@v10" | |
with: | |
default: 3.9 | |
versions: 3.9 | |
- name: Install global pyenv dependencies | |
run: | | |
python3 -m pip install --upgrade pip | |
python3 -m pip install --upgrade virtualenv | |
python3 -m pip install --upgrade nox | |
- name: Warm up virtualenv cache | |
run: | | |
./virtualenv_warmup.sh | |
- name: Test with nox | |
run: | | |
python3 -m nox |