Skip to content

Update git action #85 #98

Update git action #85

Update git action #85 #98

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: CI
on: [push, pull_request, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v3
with:
python-version: 3.12
- name: Install
run: python setup.py install
# - name: Create env file
# # Création d'un fichier .env durant le process de CI
# # Cf https://github.com/armgilles/vcub_keeper/issues/65
# run: |
# touch .env
# echo KEY_API_BDX=${{ secrets.KEY_API_BDX }} >> .env
# - name: Run tests
run: coverage run -m pytest

Check failure on line 28 in .github/workflows/CI.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/CI.yml (Line: 28, Col: 7): 'run' is already defined
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v1