-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #417 from Kegbot/mikey/poetry
build: switch to poetry (from pipenv)
- Loading branch information
Showing
12 changed files
with
2,018 additions
and
1,087 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,17 +17,17 @@ jobs: | |
- name: Setup Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.7 | ||
python-version: 3.8 | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip install pipenv docker-compose | ||
pipenv install --deploy --dev | ||
pip install poetry docker-compose | ||
poetry install -n | ||
- name: Run mysql & redis | ||
run: | | ||
docker-compose -f testdata/test-docker-compose.yml up -d | ||
sleep 10 && ./bin/wait-for-container.sh testdata_mysql_1 | ||
- name: pytest | ||
run: KEGBOT_DATABASE_URL=mysql://root:[email protected]:3306/kegbot_dev pipenv run pytest | ||
run: KEGBOT_DATABASE_URL=mysql://root:[email protected]:3306/kegbot_dev poetry run pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.