Skip to content

Commit

Permalink
Reorder workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Oct 4, 2022
1 parent d6a16cf commit b2d355f
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/perltest.yml
Expand Up @@ -14,13 +14,6 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build:
env:
SUCC_DB_USER: succession
SUCC_DB_HOST: 127.0.0.1
SUCC_DB_NAME: succession
SUCC_DB_PASS: strongpassword
PERL5LIB: Succession/lib:$PERL5LIB
runs-on: ${{ matrix.os }}
services:
mariadb:
image: mariadb:latest
Expand All @@ -32,14 +25,20 @@ jobs:
MYSQL_ROOT_PASSWORD: sekrit
MYSQL_DATABASE: succession
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
env:
SUCC_DB_USER: succession
SUCC_DB_HOST: 127.0.0.1
SUCC_DB_NAME: succession
SUCC_DB_PASS: strongpassword
SUCC_DB_PORT: ${{ job.services.mariadb.ports[3306] }}
PERL5LIB: Succession/lib:$PERL5LIB
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ 'ubuntu-latest' ]
perl: [ 'latest' ]
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
steps:
env:
SUCC_DB_PORT: ${{ job.services.mariadb.ports[3306] }}
- name: Check out code
uses: actions/checkout@v2
- name: Set up perl
Expand Down

0 comments on commit b2d355f

Please sign in to comment.