Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Dec 11, 2023
1 parent 8272a5d commit e1990f9
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ on:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: pip
- run: pip install ruff
- run: ruff --output-format=github
test:
runs-on: '${{ matrix.os }}'
strategy:
Expand All @@ -38,13 +48,15 @@ jobs:
COVERALLS_PARALLEL: true
run: coveralls
continue-on-error: true
lint:
coveralls:
name: Indicate completion to coveralls.io
needs: test
runs-on: ubuntu-latest
container: python:3-slim
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: pip
- run: make install # TODO: this should only install lint dependencies
- run: make lint
- name: Finished
run: |
pip3 install --upgrade coveralls
coveralls --service=github --finish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e1990f9

Please sign in to comment.