Skip to content

Commit

Permalink
Set up test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
majutsushi committed Aug 3, 2024
1 parent 0ed7f8e commit 1d8fa19
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
name: CI

# Controls when the action will run. Workflow runs when manually triggered
# using the UI or API.
'on':
push:
branches:
- '*'
pull_request:

# A workflow run is made up of one or more jobs that can run sequentially or
# in parallel
jobs:
test:
runs-on: 'ubuntu-latest'

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libegl1 libopengl0
- name: Install calibre
run: ./scripts/update-calibre.sh

- name: Build plugin ZIP files
run: ./scripts/build.sh

- name: Run tests
run: ./scripts/test.sh

0 comments on commit 1d8fa19

Please sign in to comment.