Feature/concurrent futures pool executor #1248
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: | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
- 'petisco/VERSION' | |
- '.github/ISSUE_TEMPLATE' | |
- '.github/workflows/coverage.yml' | |
branches: | |
- main | |
jobs: | |
ci: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: pip | |
- name: Setup Python (uv) | |
run: | # from https://github.com/astral-sh/uv/issues/1386 | |
curl -LsSf https://astral.sh/uv/install.sh | sh | |
uv venv .venv | |
echo "VIRTUAL_ENV=.venv" >> $GITHUB_ENV | |
echo "$PWD/.venv/bin" >> $GITHUB_PATH | |
mkdir -p $(pip cache dir) | |
- name: Install dependencies | |
run: | | |
uv pip install lume | |
lume -install | |
- name: Check requirements | |
run: lume -check-requirements | |
- name: Lint | |
run: lume -lint | |
- name: Test | |
env: | |
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN_STAGING }} | |
SLACK_TESTS_CHANNEL: 'testing' | |
run: lume -build -test-with-rabbitmq-mysql-and-elastic | |
- name: Check Installation (--no-binary) | |
run: lume -check-no-binary-installation | |
- name: Check command line | |
run: lume -test-command-line |