Skip to content

Commit

Permalink
fix: Python plugin integration tests on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 committed Aug 12, 2023
1 parent e77ece3 commit f7258a5
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,31 +37,16 @@ jobs:
run: npm ci

- name: Install Python dependencies
run: poetry config virtualenvs.in-project true && npm run python:install
run: poetry config virtualenvs.in-project true && ln -s ${{ pythonLocation }}/bin/python /usr/bin/python3 && npm run python:install

- name: Start containers
run: npm run docker:regtest && npm run docker:solidity

- name: Deploy Ethereum contracts
run: npm run docker:solidity:deploy
- name: Mine block
run: docker exec regtest bitcoin-cli -generate 1

- name: Compile
run: npm run compile

- name: Prettier
run: npm run prettier:check

- name: Lint
run: npm run lint

- name: Python lint
run: npm run python:lint

- name: Unit tests
run: npm run test:unit

- name: Integration tests
run: node run-int.js
- name: Check python
run: docker exec regtest ls -la /tools/.venv/bin

- name: Python integration tests
run: chmod -R 777 tools/.venv && npm run python:test
run: npm run python:test

0 comments on commit f7258a5

Please sign in to comment.