mirror of
https://github.com/denizsafak/abogen.git
synced 2026-07-18 05:40:26 +02:00
ci: fix duplicate triggers, pin macos-14 to avoid migration warning
This commit is contained in:
@@ -1,33 +1,34 @@
|
|||||||
name: pip install
|
name: pip install
|
||||||
run-name: pip install
|
run-name: pip install
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
branches: [main]
|
||||||
- '**.py'
|
paths:
|
||||||
- 'pyproject.toml'
|
- '**.py'
|
||||||
pull_request:
|
- 'pyproject.toml'
|
||||||
paths:
|
pull_request:
|
||||||
- '**.py'
|
paths:
|
||||||
- 'pyproject.toml'
|
- '**.py'
|
||||||
- '.github/workflows/**'
|
- 'pyproject.toml'
|
||||||
workflow_dispatch:
|
- '.github/workflows/**'
|
||||||
jobs:
|
workflow_dispatch:
|
||||||
install-and-run:
|
jobs:
|
||||||
strategy:
|
install-and-run:
|
||||||
matrix:
|
strategy:
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
matrix:
|
||||||
python-version: ['3.12']
|
os: [ubuntu-latest, macos-14, windows-latest]
|
||||||
fail-fast: false
|
python-version: ['3.12']
|
||||||
runs-on: ${{ matrix.os }}
|
fail-fast: false
|
||||||
steps:
|
runs-on: ${{ matrix.os }}
|
||||||
- name: Checkout repository
|
steps:
|
||||||
uses: actions/checkout@v7
|
- name: Checkout repository
|
||||||
- name: Set up Python
|
uses: actions/checkout@v7
|
||||||
uses: actions/setup-python@v6
|
- name: Set up Python
|
||||||
with:
|
uses: actions/setup-python@v6
|
||||||
python-version: ${{ matrix.python-version }}
|
with:
|
||||||
cache: pip
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Install from repository
|
cache: pip
|
||||||
run: python -m pip install .
|
- name: Install from repository
|
||||||
#- name: Run abogen
|
run: python -m pip install .
|
||||||
# run: abogen
|
#- name: Run abogen
|
||||||
|
# run: abogen
|
||||||
|
|||||||
Reference in New Issue
Block a user