Skip to content

Commit

Permalink
ajout d'un fichier de test pour les branches dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeynox committed Feb 13, 2025
1 parent cc29087 commit 852bb7a
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI Pipeline

on:
pull_request:
branches:
- dev

jobs:
test:
runs-on: node:lts-alpine

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Docker
run: |
docker --version
- name: Build Docker container
run: |
docker-compose up --build
continue-on-error: false

- name: Run Tests
run: pytest

- name: Stop Docker
run: docker-compose down
2 changes: 1 addition & 1 deletion backend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ const start = async () => {
});
console.log(`🚀 Server ready at: ${url}`);
};
start();
start();
2 changes: 1 addition & 1 deletion frontend/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ root.render(
<React.StrictMode>
<App />
</React.StrictMode>
);
);

0 comments on commit 852bb7a

Please sign in to comment.