DOP-5205: Improve onboarding docs #2448
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: CI | |
on: | |
push: | |
branches: | |
- main | |
- 'v[0-9]*' | |
pull_request: | |
jobs: | |
test: | |
strategy: | |
matrix: | |
platform: [ubuntu-20.04, macos-latest] | |
python-version: ['3.8', '3.11'] | |
# Python 3.8 is only used for Pyston on Linux x86_64 | |
exclude: | |
- platform: macos-latest | |
python-version: '3.8' | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: 'x64' | |
- name: Setup poetry | |
run: python3 -m pip install poetry | |
- name: Install dependencies | |
run: python3 -m poetry install | |
- name: Run tests | |
run: make test | |
testPackage: | |
strategy: | |
matrix: | |
platform: [ubuntu-20.04, macos-latest] | |
python-version: ['3.11'] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: 'x64' | |
- name: Setup poetry | |
run: python3 -m pip install poetry | |
- name: Install dependencies | |
run: python3 -m poetry install | |
- name: Build package | |
id: build_package | |
run: make package |