Skip to content

Commit

Permalink
ci: fix missin Codecov token
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Apr 22, 2024
1 parent 358fd86 commit fefb9bd
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/lint-and-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,28 @@ name: "🐍 Lint and Test"
# events but only for the master branch
on:
pull_request:
branches: [main]
branches:
- main
paths-ignore:
- "docs/**"
push:
branches: [main]
branches:
- main
paths-ignore:
- "docs/**"

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
lintest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down Expand Up @@ -57,3 +62,10 @@ jobs:

- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
env_vars: PYTHON
flags: unittests
name: Code Coverage for unittests on python-${{ matrix.python-version }}]
env:
PYTHON: ${{ matrix.python-version }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit fefb9bd

Please sign in to comment.