Skip to content

Commit

Permalink
Run more esoteric and/or lower risk tests daily
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrw committed Apr 14, 2021
1 parent 29ea013 commit 8b704dc
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 13 deletions.
62 changes: 62 additions & 0 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@

name: main
on:
schedule:
# 12:00 UTC
- cron: '0 12 * * *'

jobs:
core:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:

flavor:
- core+ext/openjdk11/pg-12
- core+ext/openjdk11/pg-13
# legacy testing, we do not promise support for jdk 8 or pg 9.6
- core+ext/openjdk8/pg-11
- core+ext/openjdk8/pg-9.6

branch: [6.x, main]
os: [ubuntu-18.04]

# Defaults for special-case influencing vars
lein-profile: ['']
drop-joins: ['']
deprecated-query-streaming: ['']

# Special cases
include:
- os: ubuntu-18.04
flavor: core+ext/openjdk11/pg-11
lein-profile: fips
- os: ubuntu-18.04
branch: 6.x
flavor: core+ext/openjdk11/pg-11
deprecated-query-streaming: 'no'
- os: ubuntu-18.04
branch: main
flavor: core+ext/openjdk11/pg-11
deprecated-query-streaming: 'yes'

steps:
- uses: actions/checkout@v2
with:
ref: ${{ matrix.branch }}
persist-credentials: false
# If the checkout doesn't happen before caching, this won't be right...
- uses: actions/cache@v2
with:
key: ${{ matrix.flavor }}-${{ hashFiles('project.clj') }}
path: |
ci/local/jdk
vendor/bundle/ruby
~/.m2
~/Library/Caches/Homebrew
- env:
LEIN_PROFILES: ${{ matrix.lein-profile }}
PDB_QUERY_OPTIMIZE_DROP_UNUSED_JOINS: ${{ matrix.drop-joins }}
PDB_USE_DEPRECATED_QUERY_STREAMING_METHOD: ${{ matrix.deprecated-query-streaming }}
run: ci/bin/prep-and-run-in github ${{ matrix.flavor }}
20 changes: 7 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,18 @@ name: main
on: [push, pull_request]

jobs:
core:
# We use "o" as the name to keep it short since the flavor repeats
# it, and the current actions interface doesn't show very many
# characters in the test names.
o:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04]

flavor:
- core+ext/openjdk11/pg-11
- core+ext/openjdk11/pg-12
- core+ext/openjdk11/pg-13
# legacy testing, we do not promise support for jdk 8 or pg 9.6
- core+ext/openjdk8/pg-11
- core+ext/openjdk8/pg-9.6
- core+ext/openjdk11/pg-9.6
# integration
- int/openjdk11/pup-6.x/srv-6.x/pg-11
- int/openjdk11/pup-6.x/srv-6.x/pg-11/rich
Expand All @@ -28,22 +26,18 @@ jobs:
- rspec/pup-6.4.x
- lint/openjdk11

os: [ubuntu-18.04]

# Defaults for special-case influencing vars
lein-profile: ['']
drop-joins: ['']
deprecated-query-streaming: ['']

# Special cases
include:
- os: ubuntu-18.04
flavor: core+ext/openjdk11/pg-11
lein-profile: fips
- os: ubuntu-18.04
flavor: core+ext/openjdk11/pg-11
drop-joins: always
- os: ubuntu-18.04
flavor: core+ext/openjdk11/pg-11
deprecated-query-streaming: 'no'
- os: macos-10.15
flavor: core+ext/openjdk11/pg-11/rich
- os: macos-10.15
Expand Down

0 comments on commit 8b704dc

Please sign in to comment.