From 5bb13816a8258581899dee77d09b4d8982d8e845 Mon Sep 17 00:00:00 2001 From: keyasuda Date: Wed, 14 Aug 2024 21:55:01 +0900 Subject: [PATCH] add actions workflow --- .github/workflows/test.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..94bf3c8 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,23 @@ +name: Test + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Setup Pulsar + run: | + sudo apt install -y libnotify4 + wget https://github.com/pulsar-edit/pulsar/releases/download/v1.119.0/Linux.pulsar_1.119.0_amd64.deb + sudo dpkg -i Linux.pulsar_1.119.0_amd64.deb + - name: Install dependencies + run: ppm i + - name: Run tests + run: ppm test