Skip to content

Update how regions are compared to locations #2931

Update how regions are compared to locations

Update how regions are compared to locations #2931

Workflow file for this run

name: '[test] unit test'
on:
push:
branches: [ '*' ]
pull_request:
branches: [ 'main' ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
lint:
uses: ./.github/workflows/_lint.yaml
with:
os: ubuntu-latest
python-version: '3.8'
check-importable:
uses: ./.github/workflows/_importable.yaml
with:
os: ubuntu-latest
python-version: ${{ matrix.python-version }}
strategy:
fail-fast: false
matrix:
python-version: [ '3.12', '3.11', '3.10', '3.9', '3.8', '3.7' ]
unit-tests-full:
if: ${{ github.event_name == 'pull_request' }}
uses: ./.github/workflows/_unittest.yaml
with:
os: ubuntu-latest
python-version: ${{ matrix.python-version }}
strategy:
fail-fast: false
matrix:
python-version: [ '3.12', '3.11', '3.10', '3.9', '3.8', '3.7' ]
unit-tests-fast:
if: ${{ github.event_name != 'pull_request' }}
uses: ./.github/workflows/_unittest.yaml
with:
os: ubuntu-latest
python-version: '3.8'
e2e-tests-full:
if: ${{ github.event_name == 'pull_request' }}
uses: ./.github/workflows/_e2e.yaml
with:
os: ubuntu-latest
python-version: ${{ matrix.python-version }}
strategy:
fail-fast: false
matrix:
python-version: [ '3.12', '3.11', '3.10', '3.9', '3.8', '3.7' ]
e2e-tests-fast:
if: ${{ github.event_name != 'pull_request' }}
uses: ./.github/workflows/_e2e.yaml
with:
os: ubuntu-latest
python-version: '3.8'