Add discord support #9
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
name: Continuous integration | |
on: | |
# Trigger the workflow on push or pull request, | |
push: | |
pull_request: | |
# Trigger the workflow via a manual run | |
workflow_dispatch: | |
# Ensures that only one deploy task per branch/environment will run at a time. | |
concurrency: | |
group: environment-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
install: | |
name: Install dependencies | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 1 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
uses: ./.github/actions/install | |
unit-test: | |
name: Run unit test | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 1 | |
needs: [install] | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
uses: ./.github/actions/install | |
- name: Run tests | |
run: make test | |
lint: | |
name: Lint with Pylint | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 1 | |
needs: [install] | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
uses: ./.github/actions/install | |
- name: Lint with Pylint | |
run: make pylint |