Skip to content

Commit

Permalink
Fix CI testing
Browse files Browse the repository at this point in the history
  • Loading branch information
sansyrox committed Oct 25, 2021
1 parent 2523539 commit aa10f43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 24 deletions.
25 changes: 2 additions & 23 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,13 @@ commands:
- ~/.cargo

workflows:
sample: # This is the name of the workflow, feel free to change it to better match your workflow.
e2e-testing: # This is the name of the workflow, feel free to change it to better match your workflow.
# Inside the workflow, you define the jobs you want to run.
# For more details on extending your workflow, see the configuration docs: https://circleci.com/docs/2.0/configuration-reference/#workflows
jobs:
- rust/lint-test-build:
release: true
- build-and-test
- python-tests-e2e

jobs:
lint-test-build:
Expand Down Expand Up @@ -120,27 +119,6 @@ jobs:
- ~/.cargo
working_directory: <<parameters.working_directory>>

python-tests-e2e:
docker:
- image: cimg/python:3.8

steps:
- checkout
- python/install-packages:
pkg-manager: pip
app-dir: ~/project # If you're requirements.txt isn't in the root directory.
pip-dependency-file: requirements.txt # if you have a different name for your requirements file, maybe one that combines your runtime and test requirements.

- run:
name: Install docker compose
command: |
curl -L https://github.com/docker/compose/releases/download/1.25.3/docker-compose-`uname -s`-`uname -m` > ~/docker-compose
chmod +x ~/docker-compose
sudo mv ~/docker-compose /usr/local/bin/docker-compose
cd ~/project
docker-compose build
docker-compose up
build-and-test: # This is the name of the job, feel free to change it to better match what you're trying to do!
# These next lines defines a Docker executors: https://circleci.com/docs/2.0/executor-types/
# You can specify an image from Dockerhub or use one of the convenience images from CircleCI's Developer Hub
Expand Down Expand Up @@ -170,3 +148,4 @@ jobs:
python3 -m venv venv
source venv/bin/activate
maturin develop
pytest ~/project/integration_tests
3 changes: 2 additions & 1 deletion robyn/test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pytest
pytest==6.2.5
maturin
watchdog
requests==2.26.0

0 comments on commit aa10f43

Please sign in to comment.