Skip to content

Commit

Permalink
feat: add script for building rocks via lpci (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdcordeiro authored Apr 4, 2024
1 parent 5c0c437 commit 0fa2172
Show file tree
Hide file tree
Showing 9 changed files with 910 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Tests

on:
push:

jobs:
test-rockcraft-lpci-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: pip install -r rockcraft_lpci_build/requirements.test.txt
- run: pytest rockcraft_lpci_build/tests/ -vvv -s -rP --log-cli-level=INFO
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.vscode
__pycache__
*.rock
Empty file.
4 changes: 4 additions & 0 deletions rockcraft_lpci_build/requirements.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh

sudo apt update
sudo apt install -y distro-info
4 changes: 4 additions & 0 deletions rockcraft_lpci_build/requirements.test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pytest
pytest-mock
retry
GitPython
5 changes: 5 additions & 0 deletions rockcraft_lpci_build/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distro-info
GitPython
launchpadlib
pyyaml
retry
Loading

0 comments on commit 0fa2172

Please sign in to comment.