Skip to content

.github/workflows/release: wip #35

.github/workflows/release: wip

.github/workflows/release: wip #35

name: Continuous Integration
on:
push:
env:
BRANCH: ${{ github.head_ref || github.ref_name }}
GH_TOKEN: ${{ github.token }}
jobs:
check:
strategy:
fail-fast: false
matrix:
python-version:
- 3.9
- "3.10"
- "3.11"
# - "3.12" # it is still early, first released 2023-09-19.
- pypy-3.8
- pypy-3.9
os:
- ubuntu-latest
runs-on: ${{ matrix.os }}
name: ${{ matrix.python-version }} on ${{ matrix.os }}
steps:
- run: gh repo clone amirouche/asyncio-foundationdb -- --branch $BRANCH --depth 42
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- run: python --version
- run: cd asyncio-foundationdb && sudo make init-foundationdb
- run: cd asyncio-foundationdb && pip install --upgrade pip
- run: cd asyncio-foundationdb && pip install poetry
- run: cd asyncio-foundationdb && ./venv python
- run: cd asyncio-foundationdb && ./venv make init
- run: cd asyncio-foundationdb && ./venv make check