Fix workflow syntax
This commit is contained in:
parent
b769b94d7b
commit
1e233e5aa3
13
.github/workflows/tests.yml
vendored
13
.github/workflows/tests.yml
vendored
@ -7,8 +7,7 @@ on:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
unix-build:
|
||||
|
||||
unix-tests:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
@ -30,13 +29,13 @@ jobs:
|
||||
db-driver: sqlite
|
||||
db-dsn: sqlite:/tmp/data/sqlite/ulogger.db
|
||||
docker-options: -p 8080:80 -v /tmp/data:/data
|
||||
env:
|
||||
DB_DSN: "${{ matrix.config.db-dsn }}"
|
||||
DB_USER: ulogger
|
||||
DB_PASS: secret2
|
||||
ULOGGER_URL: "http://127.0.0.1:8080"
|
||||
|
||||
steps:
|
||||
env:
|
||||
DB_DSN="${{ matrix.config.db-dsn }}"
|
||||
DB_USER=ulogger
|
||||
DB_PASS=secret2
|
||||
ULOGGER_URL="http://127.0.0.1:8080"
|
||||
- uses: actions/checkout@v2
|
||||
- name: Prepare for docker
|
||||
if: ${{ matrix.config.db-driver == 'sqlite' }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user