Skip to content

Commit

Permalink
fixed gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-the-shark committed Mar 18, 2024
1 parent dfee17b commit de74f66
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ jobs:
python_version: [ '3.10', '3.11', '3.12' ]
django_version: [ '3.2.12', '4.2', '5.0.3' ]
steps:
- uses: huaxk/postgis-action@v1
- uses: nyurik/action-setup-postgis@v1
with:
postgresql version: '12' # See https://https://hub.docker.com/r/mdillon/postgis for available versions, if it is not specified, use the default value 'latest'
postgresql password: 'password' # This environment variable sets the superuser password for PostgreSQL, maybe string or secrets, the default superuser is defined by the input environment variable: postgresql user.
postgresql user: 'test' # This optional environment variable is used in conjunction with postgresql password to set a user and its password. This variable will create the specified user with superuser power and a database with the same name. If it is not specified, then the default user of 'postgres' will be used.
postgresql db: 'test' # This optional environment variable can be used to define a different name for the default database that is created when the image is first started. If it is not specified, then the value of postgresql user will be used.
username: test
database: test
password: password
- uses: actions/checkout@v2
- name: Set up Python version
uses: actions/setup-python@v2
Expand Down

0 comments on commit de74f66

Please sign in to comment.