Skip to content

feat: update Python version to 3.9+, update CI Node.js version to 20 #21

feat: update Python version to 3.9+, update CI Node.js version to 20

feat: update Python version to 3.9+, update CI Node.js version to 20 #21

Workflow file for this run

on: [ "push", "pull_request" ]
name: Test Coveralls
jobs:
build:
name: Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v2
with:
python-version: '3.11'
architecture: 'x64'
- name: Install Dependency
run: |
python -m pip install -r dev-requirements.txt
python -m pip install coveralls
- name: Run Coverage
run: |
python -m pytest --cov=fastapi_authz tests/
coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Coveralls
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# path-to-lcov: ${{ github.workspace }}/.coverage