Skip to content

Commit

Permalink
#74 Continuous integration restructuring
Browse files Browse the repository at this point in the history
  • Loading branch information
ilesoft authored Dec 6, 2024
2 parents 47398ad + 005c8a9 commit 88b18ed
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,21 @@ jobs:
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: start SUT
run: docker compose up --quiet-pull --detach --build
- uses: actions/setup-python@v5
with:
python-version: 3.12.1
- name: Install dependencies
run: python -m pip install -r requirements.txt
- name: run django test
run: docker compose run web python './manage.py' test --failfast
working-directory: ./web
run: python './manage.py' test --failfast
robot-tests:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: start SUT
run: docker compose up --quiet-pull --detach --build
- name: build SUT
run: docker build -t kipa .
- name: Set up Python 3.12.1
uses: actions/setup-python@v5
with:
Expand All @@ -45,6 +49,8 @@ jobs:
python -m pip install --upgrade pip
pip install robotframework
pip install robotframework-seleniumlibrary
- name: start SUT
run: docker run -d -p 3000:3000 kipa
- name: wait SUT to start
run: while ! curl -s -f 'http://localhost:3000/kipa' ; do sleep 2; docker ps; done
shell: bash
Expand Down

0 comments on commit 88b18ed

Please sign in to comment.