Skip to content

Commit

Permalink
Add integration tests with Poetry (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
frostming authored Dec 20, 2021
1 parent 94c9a6e commit 05aece7
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Integration Tests

on:
push:
branches:
- master
- develop
pull_request:
branches:
- "*"

jobs:
Integration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Clone Poetry Repo
run: git clone --depth 1 https:/python-poetry/poetry.git
- name: Install dependencies
run: |
pip install --upgrade ./poetry .
pip install pytest pytest-mock flatdict deepdiff httpretty
- name: Run tests
run: |
poetry config virtualenvs.in-project true
cd poetry
pytest -q tests/

0 comments on commit 05aece7

Please sign in to comment.