-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: reformat workflow for eda-lint
- Loading branch information
1 parent
10f75c8
commit 750355c
Showing
1 changed file
with
28 additions
and
28 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 |
---|---|---|
@@ -1,29 +1,29 @@ | ||
--- | ||
on: | ||
push: | ||
paths: | ||
- 'extensions/**' | ||
- '.github/workflows/eda-lint.yml' | ||
name: EDA Linting (tox) | ||
|
||
pull_request: | ||
paths: | ||
- 'extensions/**' | ||
- '.github/workflows/eda-lint.yml' | ||
name: EDA Linting (tox) | ||
jobs: | ||
tox: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update -y | ||
sudo apt-get install jq libyaml-dev git build-essential findutils libsystemd-dev -y | ||
sudo python3 -m pip install tox | ||
sudo python3 -m pip install --upgrade --ignore-installed PyYAML | ||
sudo python3 -m pip install --upgrade pip | ||
sudo python3 -m pip install --upgrade virtualenv | ||
sudo python3 -m pip install --upgrade setuptools | ||
- name: Run tox | ||
run: | | ||
tox | ||
on: | ||
push: | ||
paths: | ||
- "extensions/**" | ||
- ".github/workflows/eda-lint.yml" | ||
|
||
pull_request: | ||
paths: | ||
- "extensions/**" | ||
- ".github/workflows/eda-lint.yml" | ||
jobs: | ||
tox: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update -y | ||
sudo apt-get install jq libyaml-dev git build-essential findutils libsystemd-dev -y | ||
sudo python3 -m pip install tox | ||
sudo python3 -m pip install --upgrade --ignore-installed PyYAML | ||
sudo python3 -m pip install --upgrade pip | ||
sudo python3 -m pip install --upgrade virtualenv | ||
sudo python3 -m pip install --upgrade setuptools | ||
- name: Run tox | ||
run: | | ||
tox |