This repository has been archived by the owner on Oct 16, 2024. It is now read-only.
Merge tag 'v3.7' into main, cleaning up partial changelog entries #18
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: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
sudo apt-get install -y libgpgme11-dev | |
curl -sSL https://install.python-poetry.org | python3 - | |
poetry install -n | |
- name: Check code | |
run: poetry run black bmaptools/* tests/* --check | |
test: | |
needs: check | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.8", "3.9", "3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
# Installs compression deps | |
sudo apt-get install -y pbzip2 pigz lzop liblz4-tool libgpgme11-dev | |
# Installs poetry | |
curl -sSL https://install.python-poetry.org | python3 - | |
poetry install -n | |
- name: Run tests | |
run: poetry run python -m unittest -bv |