Skip to content

Commit

Permalink
Fix CI postgres issue (#3781)
Browse files Browse the repository at this point in the history
* Set wrapt dependency to ~=1.11.1

* Use updated postgresql-action

Set postgres auth-method to trust
  • Loading branch information
CasperWA authored Feb 20, 2020
1 parent 12f9641 commit 94f91a9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,13 @@ jobs:

steps:
- uses: actions/checkout@v1
- uses: harmon758/postgresql-action@v1
- uses: CasperWA/postgresql-action@v1.2
with:
postgresql version: '11'
postgresql version: '10'
postgresql db: test_${{ matrix.backend }}
postgresql user: 'postgres'
postgresql user: postgres
postgresql password: ''
postgresql auth: trust

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
Expand All @@ -115,7 +116,7 @@ jobs:
echo 'deb https://dl.bintray.com/rabbitmq/debian bionic main' | sudo tee -a /etc/apt/sources.list.d/bintray.rabbitmq.list
sudo rm -f /etc/apt/sources.list.d/dotnetdev.list /etc/apt/sources.list.d/microsoft-prod.list
sudo apt update
sudo apt install postgresql postgresql-server-dev-all postgresql-client rabbitmq-server graphviz
sudo apt install postgresql-10 rabbitmq-server graphviz
sudo systemctl status rabbitmq-server.service
- name: Install python dependencies
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements_for_rtd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ tabulate~=0.8.5
tornado<5.0
tzlocal~=2.0
upf_to_json~=0.9.2
wrapt~=1.11
wrapt~=1.11.1
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ dependencies:
- tornado<5.0
- tzlocal~=2.0
- upf_to_json~=0.9.2
- wrapt~=1.11
- wrapt~=1.11.1
2 changes: 1 addition & 1 deletion setup.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"tornado<5.0",
"tzlocal~=2.0",
"upf_to_json~=0.9.2",
"wrapt~=1.11"
"wrapt~=1.11.1"
],
"extras_require": {
"ssh_kerberos": [
Expand Down

0 comments on commit 94f91a9

Please sign in to comment.