Skip to content

Commit

Permalink
feat: github action enforce PR continuous integration rules
Browse files Browse the repository at this point in the history
* configure github action to run continuous integration pipeline
  • Loading branch information
FabienArcellier committed Feb 10, 2024
1 parent 1c7e542 commit 7a72e99
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand All @@ -20,4 +25,13 @@ jobs:
- name: update package manager & install python3 environment
run: |
sudo pip install poetry
poetry install
poetry install --with build
- name: install npm environment
run: |
cd ui
npm install
- name: run continuous integration pipeline
run: |
poetry run alfred ci
16 changes: 15 additions & 1 deletion .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand All @@ -20,4 +25,13 @@ jobs:
- name: update package manager & install python3 environment
run: |
pip install poetry
poetry install
poetry install --with build
- name: install npm environment
run: |
cd ui
npm install
- name: run continuous integration pipeline
run: |
poetry run alfred ci
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,13 @@ jobs:
- name: update package manager & install python3 environment
run: |
sudo pip install poetry
poetry install
poetry install --with build
- name: install npm environment
run: |
cd ui
npm install
- name: run continuous integration pipeline
run: |
poetry run alfred ci

0 comments on commit 7a72e99

Please sign in to comment.