lune-packaging/.github/workflows/aur_test.yaml

24 lines
520 B
YAML
Raw Normal View History

2023-08-01 12:15:59 +05:30
name: AUR Test
2023-08-01 11:23:30 +05:30
on:
push:
workflow_dispatch:
jobs:
2023-08-01 12:15:59 +05:30
test:
2023-08-01 11:23:30 +05:30
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Copy AUR PKGBUILDs into testing dir
2023-08-01 11:42:55 +05:30
run: cp -r package/aur/lune-bin/ package/aur/lune-git/ package/aur/lune/ test/aur/
2023-08-01 11:23:30 +05:30
- name: Setup docker CLI
uses: actions-hub/docker/cli@master
env:
SKIP_LOGIN: true
- name: Test
run: docker build -t aur_test test/aur && docker run aur_test