This repository has been archived by the owner on Oct 12, 2024. It is now read-only.
Add Spicord Hook, two-way Discord support #46
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Carry out tests on pull requests | |
name: PR Tests | |
on: | |
pull_request: | |
branches: [ 'master' ] | |
permissions: | |
contents: read | |
env: | |
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.8/x64/lib/python3.10/site-packages/jep/ | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 16 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '16' | |
distribution: 'temurin' | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10.8' | |
- name: Install Python dependencies | |
shell: bash | |
run: | | |
python -m pip install --upgrade pip setuptools wheel | |
python -m pip install jep | |
python -m pip install alt-profanity-check | |
- name: Test Pull Request | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build test |