File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ # Name of our workflow (will show up in the "Actions" tab)
2+ name : E2E Test Suite
3+
4+ # --- Triggers ---
5+ # This tells GitHub *when* to run this workflow
6+ on :
7+ # Run on every push to the 'main' branch
8+ push :
9+ branches : [ "main" ]
10+ # Also allow running it manually from the Actions tab
11+ workflow_dispatch :
12+
13+ # --- Jobs ---
14+ # A workflow is made of one or more "jobs"
15+ jobs :
16+ build-and-test :
17+ # The type of server to run on (GitHub-hosted)
18+ # 'ubuntu-latest' comes with Docker pre-installed
19+ runs-on : ubuntu-latest
20+
21+ steps :
22+ # Step 1: Check out our repository code
23+ - name : Check out repository
24+ uses : actions/checkout@v4
25+
26+ # Step 2: Build and run our Docker containers
27+ # This is the *exact* command we've been using!
28+ - name : Run E2E Tests with Docker Compose
29+ run : docker-compose up --build --abort-on-container-exit
30+
31+ # Step 3: Upload Allure results as an artifact
32+ # This saves the 'allure-results' folder from the server
33+ # so we can download it later.
34+ - name : Upload Allure results
35+ uses : actions/upload-artifact@v4
36+ with :
37+ name : allure-results
38+ path : allure-results/
You can’t perform that action at this time.
0 commit comments