* [gentoo-commits] data/api:master commit in: .github/workflows/
@ 2022-04-13 19:54 Arthur Zamarin
0 siblings, 0 replies; 3+ messages in thread
From: Arthur Zamarin @ 2022-04-13 19:54 UTC (permalink / raw
To: gentoo-commits
commit: bee2e1c48df57888820de896b5d9435addd1bca4
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 13 19:54:12 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 13 19:54:12 2022 +0000
URL: https://gitweb.gentoo.org/data/api.git/commit/?id=bee2e1c4
Fix CI workflow
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
.github/workflows/repositories.yml | 1 -
1 file changed, 1 deletion(-)
diff --git a/.github/workflows/repositories.yml b/.github/workflows/repositories.yml
index 3c3a0c3..3f09609 100644
--- a/.github/workflows/repositories.yml
+++ b/.github/workflows/repositories.yml
@@ -17,7 +17,6 @@ jobs:
- uses: actions/setup-python@v3
with:
python-version: '3.x'
- cache: 'pip'
- name: Install pip dependencies
run: pip install lxml
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] data/api:master commit in: .github/workflows/
@ 2023-03-16 14:48 Florian Schmaus
0 siblings, 0 replies; 3+ messages in thread
From: Florian Schmaus @ 2023-03-16 14:48 UTC (permalink / raw
To: gentoo-commits
commit: cddc1bd5020f27cfde1965f33de125c19c1d196e
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 20 16:33:10 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Mar 16 14:48:30 2023 +0000
URL: https://gitweb.gentoo.org/data/api.git/commit/?id=cddc1bd5
Add github ci.yaml
Closes: https://github.com/gentoo/api-gentoo-org/pull/575
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
.github/workflows/ci.yml | 19 +++++++++++++++++++
.github/workflows/repositories.yml | 19 -------------------
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..df409dc
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,19 @@
+name: CI
+on: [push]
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v3
+ - name: Install dependencies
+ run: |
+ sudo apt update
+ sudo apt install libxml2-utils
+ - uses: actions/setup-python@v4
+ with:
+ python-version: '3.x'
+ - name: Install pip dependencies
+ run: pip install lxml
+ - name: Check
+ run: make check
diff --git a/.github/workflows/repositories.yml b/.github/workflows/repositories.yml
index dae070f..df5d534 100644
--- a/.github/workflows/repositories.yml
+++ b/.github/workflows/repositories.yml
@@ -24,22 +24,3 @@ jobs:
run: |
BASE_REF=$(git merge-base --fork-point origin/${{ github.base_ref }})
python bin/repositories-checker.py --github <(git show ${BASE_REF}:files/overlays/repositories.xml) files/overlays/repositories.xml
-
- validate-schema:
- runs-on: ubuntu-latest
- steps:
-
- - name: Checkout
- uses: actions/checkout@v2
-
- - name: Download repositories.xml schema
- run: wget https://gitweb.gentoo.org/data/xml-schema.git/plain/repositories.xsd
-
- - name: Prepare xmllint annotator
- uses: korelstar/xmllint-problem-matcher@v1
-
- - name: Lint repositories.xml
- uses: ChristophWurst/xmllint-action@v1
- with:
- xml-file: ./files/overlays/repositories.xml
- xml-schema-file: ./repositories.xsd
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] data/api:master commit in: .github/workflows/
@ 2023-03-16 15:03 Florian Schmaus
0 siblings, 0 replies; 3+ messages in thread
From: Florian Schmaus @ 2023-03-16 15:03 UTC (permalink / raw
To: gentoo-commits
commit: b524fc4703de6662603f04662089d5468cb704d8
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 16 15:01:26 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Mar 16 15:02:21 2023 +0000
URL: https://gitweb.gentoo.org/data/api.git/commit/?id=b524fc47
github ci: run on push and PRs
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
.github/workflows/ci.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index df409dc..dd299ab 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,5 +1,5 @@
name: CI
-on: [push]
+on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-16 15:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-16 14:48 [gentoo-commits] data/api:master commit in: .github/workflows/ Florian Schmaus
-- strict thread matches above, loose matches on Subject: below --
2023-03-16 15:03 Florian Schmaus
2022-04-13 19:54 Arthur Zamarin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox