Add users:read
Scope to app_manifest.yml
#95
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
name: Run CI | |
on: | |
pull_request: | |
jobs: | |
test: | |
env: | |
SLACK_BOT_TOKEN: "fake" | |
SIGNING_SECRET: "also_fake" | |
TZ: "US/Eastern" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v4 | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11.5' | |
cache: 'pip' | |
- name: Install Python dependencies | |
run: pip install .[test] | |
- name: Black | |
run: python -m black --check src/ | |
- name: isort | |
run: python -m isort --check src/ | |
- name: ssort | |
run: python -m ssort --check src/ | |
- name: Pylint | |
run: python -m pylint src/ | |
- name: Pytest | |
run: python -m pytest tests/ |