Bump to version v0.16.4 #25
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] | |
pull_request: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
tests: | |
defaults: | |
run: | |
shell: bash | |
runs-on: ["ubuntu-latest"] | |
strategy: | |
matrix: | |
python-version: ["3.11", "3.12.0-beta.1"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install git | |
uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: git | |
version: "@latest" | |
- name: Set Up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Poetry setup | |
uses: Gr1N/setup-poetry@v8 | |
- run: poetry install --with=test | |
- name: Configure Git user (for tests) | |
run: | | |
git config --global user.name "Github Actions CI user" | |
git config --global user.email "[email protected]" | |
- name: Run the tests | |
run: make test | |
lint: | |
name: Lint (pre-commit) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set Up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Poetry setup | |
uses: Gr1N/setup-poetry@v8 | |
- run: poetry install --with=test | |
- name: Run the linters | |
uses: pre-commit/[email protected] |