Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyu-loopmind committed Sep 4, 2023
1 parent 252cffd commit 4ddc970
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,15 @@ on:
- main

jobs:
docker-compose-build:
loopquest-build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the stack
run: docker compose up --build
- name: Stop Docker Compose
run: docker-compose down

loopquest-test:
runs-on: ubuntu-latest
strategy:
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']

steps:
steps:
- uses: actions/checkout@v2
- name: Build the servers
run: docker compose up --build

- name: Set up Python environment
uses: actions/setup-python@v2
Expand All @@ -39,4 +31,6 @@ jobs:
- name: Run pytest on tests folder
run: pytest tests/


- name: Stop Docker Compose
run: docker-compose down

0 comments on commit 4ddc970

Please sign in to comment.