-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
42 additions
and
42 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,51 +13,51 @@ concurrency: | |
jobs: | ||
# Make sure commit messages follow the conventional commits convention: | ||
# https://www.conventionalcommits.org | ||
commitlint: | ||
name: Lint Commit Messages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: wagoid/[email protected] | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.11" | ||
- uses: pre-commit/[email protected] | ||
# commitlint: | ||
# name: Lint Commit Messages | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# with: | ||
# fetch-depth: 0 | ||
# - uses: wagoid/[email protected] | ||
# lint: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - uses: actions/setup-python@v5 | ||
# with: | ||
# python-version: "3.11" | ||
# - uses: pre-commit/[email protected] | ||
|
||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: | ||
- "3.11" | ||
os: | ||
- ubuntu-latest | ||
- windows-latest | ||
- macOS-latest | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- uses: snok/[email protected] | ||
- name: Install Dependencies | ||
run: poetry install | ||
shell: bash | ||
- name: Test with Pytest | ||
run: poetry run pytest | ||
shell: bash | ||
# test: | ||
# strategy: | ||
# fail-fast: false | ||
# matrix: | ||
# python-version: | ||
# - "3.11" | ||
# os: | ||
# - ubuntu-latest | ||
# - windows-latest | ||
# - macOS-latest | ||
# runs-on: ${{ matrix.os }} | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - name: Set up Python | ||
# uses: actions/setup-python@v5 | ||
# with: | ||
# python-version: ${{ matrix.python-version }} | ||
# - uses: snok/[email protected] | ||
# - name: Install Dependencies | ||
# run: poetry install | ||
# shell: bash | ||
# - name: Test with Pytest | ||
# run: poetry run pytest | ||
# shell: bash | ||
release: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- test | ||
# needs: | ||
# - test | ||
concurrency: release | ||
if: github.ref == 'refs/heads/release' | ||
permissions: | ||
|