Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix database tests and enable running using GitHub workflows #5676

Merged
merged 38 commits into from
Nov 29, 2019
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
567e643
Fix datbase tests and enable running using GitHub workflows
koppor Nov 26, 2019
82eca7d
One big workflow for test and binaries
koppor Nov 28, 2019
98e68c6
Make allowPublicKeyRetrieval a property of DBMSConnectionProperties (…
koppor Nov 28, 2019
e49e694
Final fixes
koppor Nov 28, 2019
6d6ab5e
Setup JDK directly before gradle
koppor Nov 28, 2019
570bc28
Really remove separate test-on-posgres workflow
koppor Nov 28, 2019
77ee500
Revert "Really remove separate test-on-posgres workflow"
koppor Nov 28, 2019
f8ebaf4
Fix checkstyle
koppor Nov 28, 2019
cac6ac6
Merge MySQL and Postgres test into one workflow
koppor Nov 29, 2019
936ea25
Have names lowercase also in deployment.yml
koppor Nov 29, 2019
565f4e4
Sequentially execute database tests - and integrate codecov
koppor Nov 29, 2019
9cd50a1
Enable GUI tests using GitHub workflows
koppor Nov 29, 2019
251d029
Revert "Have names lowercase also in deployment.yml"
koppor Nov 29, 2019
2db3ffc
Fix name of workflow for tests, separate tests into basic, fetchers, …
koppor Nov 29, 2019
1870696
Fix test names
koppor Nov 29, 2019
d3c78c5
Finally remove usage of Travis
koppor Nov 29, 2019
3c859c6
Try to cache gradle wrapper
koppor Nov 29, 2019
f1b394a
Fix YML
koppor Nov 29, 2019
562e201
Run MySQL tests after code coverage (as it takes 15s to setup MySQL)
koppor Nov 29, 2019
778a818
Update gradle from 6.0.0 to 6.0.1
koppor Nov 29, 2019
3fa119f
Add name to start MySQL task
koppor Nov 29, 2019
9317505
One "after failure" job is enough
koppor Nov 29, 2019
72a1de0
Try to get better location of failed tests
koppor Nov 29, 2019
9c858ef
Update test coverage metrics in all cases (failed and non-failed)
koppor Nov 29, 2019
e091e71
only html available; try html2text
koppor Nov 29, 2019
88b5ab4
html2text did not work out
koppor Nov 29, 2019
b888f26
Switch test logger theme to a) mocha and b) mocha.parallel to enable …
koppor Nov 29, 2019
0cbbaee
Don't overoptimize (parallel) - just show skipped and failed tests
koppor Nov 29, 2019
382fd97
Run outdated dependency check weekly
tobiasdiez Nov 29, 2019
f30066e
Create outdatedDependencies.md
tobiasdiez Nov 29, 2019
0446759
Introduce TravisCI environment variable CI
koppor Nov 29, 2019
ae2a0ab
Include checkstyle in main test workflow
tobiasdiez Nov 29, 2019
99de01d
Delete checkstyle.yml
tobiasdiez Nov 29, 2019
02fe4fc
Fix ordering of jacoco call
koppor Nov 29, 2019
a0021ed
Try to find out why fetcher tests are not executed on GitHub workflows
koppor Nov 29, 2019
11bb9b9
Split tests into seperate jobs to parallelize
tobiasdiez Nov 29, 2019
26fe33e
Make sure all tests are executed
tobiasdiez Nov 29, 2019
324f822
Make mysql tests run
tobiasdiez Nov 29, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 14 additions & 18 deletions .github/workflows/check-outdated-dependencies.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: Check outdated Dependencies
name: Check dependencies

on: [push]
on:
schedule:
- cron: '0 0 * * 0' # Run every Sunday

jobs:
check:
name: Check outdated Dependencies
checkDependencies:
name: Check dependencies
runs-on: ubuntu-latest
steps:
- name: Checkout source
Expand All @@ -16,18 +18,12 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 13
- uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.OS }}-gradle-${{ env.cache-name }}-
${{ runner.OS }}-gradle-
${{ runner.OS }}-
- uses: actions/cache@v1
name: Cache gradle wrapper
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did the fetching from the gradle executable jar from the cache take longer than fetching from gradle? - I wanted to reduce the GET requests to the gradle server by caching the wrapper binaries with this task.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As this check is now run weekly, there is no need to optimize anything.

with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
- name: Run check
- name: Look for outdated dependencies
run: ./gradlew -q checkOutdatedDependencies
- name: Report issues
if: failure()
uses: JasonEtco/create-an-issue@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filename: .github/outdatedDependencies.md