Skip to content

Commit

Permalink
Merge pull request #52 from StackStorm/add_py38
Browse files Browse the repository at this point in the history
  • Loading branch information
amanda11 authored Jun 7, 2021
2 parents e39404d + 917b932 commit 45967cd
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,46 @@ jobs:
- ~/.cache/pip
- ~/.apt-cache

build_and_test_python38:
docker:
- image: circleci/python:3.8
- image: rabbitmq:3
- image: mongo:4.0
steps:
- checkout
- run:
name: Clone StackStorm/st2 repo
command: |
make .clone_st2_repo
- restore_cache:
key: v1-dependency-cache-py38-{{ checksum "/tmp/st2/requirements.txt" }}
- run:
name: Download and install dependencies
command: |
sudo apt-get -y install libldap2-dev libsasl2-dev
make requirements
- run:
name: Run lint and tests (Python 3.8)
command: |
make .lint
make .unit-tests
- save_cache:
key: v1-dependency-cache-py38-{{ checksum "/tmp/st2/requirements.txt" }}
paths:
- ~/.cache/pip
- ~/.apt-cache

workflows:
version: 2
# Workflow which runs on each posh
build_test_deploy_on_push:
jobs:
- build_and_test_python36
- build_and_test_python38
build_test_nightly:
jobs:
- build_and_test_python36
- build_and_test_python38
triggers:
# Run nightly build for the pack
- schedule:
Expand Down

0 comments on commit 45967cd

Please sign in to comment.