Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytest for pre commit et ci #6

Merged
merged 3 commits into from
Jul 3, 2024
Merged

pytest for pre commit et ci #6

merged 3 commits into from
Jul 3, 2024

Conversation

olry
Copy link
Collaborator

@olry olry commented Jul 3, 2024

Description

Mise en place d'un pipeline d'intégration continue pour l'application Oxygen CS.

Changements

  • Ajout d'un fichier .github/workflows/ci.yml pour configurer GitHub Actions.
    • Configuration du pipeline pour :
    • Lancer les tests d'intégration (pas les tests unitaires) de l'application.
    • Effectuer les étapes de linting et de formatage.
    • Construire l'image Docker seulement lorsque les changements sont sur la branche main.
    • Taguer l'image Docker avec latest et un autre identifiant (version de l'application, build id, etc.).
    • Déployer l'image Docker sur DockerHub seulement lorsqu'il y a des changements sur la branche main.
  • Ajout de pytest pour les hooks pre-commit pour exécuter les tests unitaires.

Lien vers carte(s) du tableau Kanban

Issue 47

Autheur

Ramy Ouabel

@olry olry added the fonctionnalité Nouvelle demande label Jul 3, 2024
@olry olry requested review from FilGoodInc and FelixMasse July 3, 2024 18:18
@olry olry self-assigned this Jul 3, 2024
@olry olry merged commit 9f9fcf2 into main Jul 3, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fonctionnalité Nouvelle demande
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants