Skip to content

Commit

Permalink
simplify ci
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviasculley committed Sep 30, 2023
1 parent 5f80123 commit 8762fad
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ on:
pull_request:

jobs:
lint_and_test:
strategy:
matrix:
python_version: ['3.11.5']

test:
env:
SLACK_BOT_TOKEN: "fake"
SIGNING_SECRET: "also_fake"
Expand All @@ -21,27 +17,17 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
python-version: '3.11.5'
cache: 'pip'

- name: Install Python dependencies
run: pip install -r requirements.txt
run: pip install .[test]

- name: Black
uses: microsoft/[email protected]
with:
black: true
python_version: ${{ matrix.python_version }}
run: python -m black --check src/

- name: Pylint
uses: microsoft/[email protected]
with:
pylint: true
run: python -m pylint src/

- name: Pytest
uses: microsoft/[email protected]
with:
pytest: true
workdir: '.'
coverage: false
python_version: ${{ matrix.python_version }}
run: python -m pytest tests/

0 comments on commit 8762fad

Please sign in to comment.