Skip to content

Commit

Permalink
debug(ci:gitlab): move all steps in one job
Browse files Browse the repository at this point in the history
  • Loading branch information
lakkeger committed Feb 16, 2024
1 parent e40e2ff commit f4fdfb3
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,26 @@ default:
artifacts:
paths:
- $CI_PROJECT_DIR/ls-state-pod.zip
expire_in: never
expire_in: 1 days

deploy:
stage: deploy
script:
- ./bin/deploy.sh
- localstack state export ./ls-state-pod.zip

test:
stage: test
allow_failure: true
before_script:
- *default_before_scripts
- python3 -m pip install -r requirements-dev.txt
script:
- python3 -m pytest tests || true
- ./bin/deploy.sh
- python3 -m pytest tests
- localstack state export ./ls-state-pod.zip
after_script:
- localstack logs

# test:
# stage: test
# before_script:
# - *default_before_scripts
# - python3 -m pip install -r requirements-dev.txt
# script:
# - python3 -m pytest tests
# after_script:
# - localstack logs

0 comments on commit f4fdfb3

Please sign in to comment.