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

24 lines
520 B
YAML
Raw Permalink Normal View History

2023-08-01 07:45:59 +01:00
name: AUR Test
2023-08-01 06:53:30 +01:00
on:
push:
workflow_dispatch:
jobs:
2023-08-01 07:45:59 +01:00
test:
2023-08-01 06:53:30 +01:00
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Copy AUR PKGBUILDs into testing dir
2023-08-01 07:12:55 +01:00
run: cp -r package/aur/lune-bin/ package/aur/lune-git/ package/aur/lune/ test/aur/
2023-08-01 06:53:30 +01:00
- 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