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

Bump codecov/codecov-action from 3 to 4 #1510

Merged
merged 1 commit into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
70 changes: 35 additions & 35 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
name: ci
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3

- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x

- name: Install dependencies
run: dotnet restore
working-directory: src

- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: src

- name: Test
run: dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage"
working-directory: src

- name: Coverage
uses: codecov/codecov-action@v3
name: ci
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Install dependencies
run: dotnet restore
working-directory: src
- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: src
- name: Test
run: dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage"
working-directory: src
- name: Coverage
uses: codecov/codecov-action@v4
104 changes: 52 additions & 52 deletions .github/workflows/mysql.yml
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
name: mysql

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
db:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tag: [8.0, 8.1, 8.2, latest]
services:
mysql:
image: mysql:${{ matrix.tag }}
env:
MYSQL_ROOT_PASSWORD: Schematic1234
MYSQL_DATABASE: schematic
options: >-
--health-cmd "mysqladmin ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 3306:3306
steps:
- uses: actions/checkout@v3

- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x

- name: Install dependencies
run: dotnet restore
working-directory: src/SJP.Schematic.MySql.Tests

- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: src/SJP.Schematic.MySql.Tests

- name: Test
run: dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage"
working-directory: src/SJP.Schematic.MySql.Tests
env:
ConnectionStrings__MySql_TestDb: Server=localhost; Port=3306; Database=schematic; Uid=root; Pwd=Schematic1234; ConnectionTimeout=2

- name: Coverage
uses: codecov/codecov-action@v3
name: mysql
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
db:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tag: [8.0, 8.1, 8.2, latest]
services:
mysql:
image: mysql:${{ matrix.tag }}
env:
MYSQL_ROOT_PASSWORD: Schematic1234
MYSQL_DATABASE: schematic
options: >-
--health-cmd "mysqladmin ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 3306:3306
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Install dependencies
run: dotnet restore
working-directory: src/SJP.Schematic.MySql.Tests
- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: src/SJP.Schematic.MySql.Tests
- name: Test
run: dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage"
working-directory: src/SJP.Schematic.MySql.Tests
env:
ConnectionStrings__MySql_TestDb: Server=localhost; Port=3306; Database=schematic; Uid=root; Pwd=Schematic1234; ConnectionTimeout=2
- name: Coverage
uses: codecov/codecov-action@v4
108 changes: 54 additions & 54 deletions .github/workflows/oracle.yml
Original file line number Diff line number Diff line change
@@ -1,54 +1,54 @@
name: oracle

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
db:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tag: [11, 18, 21, latest]
services:
oracle:
image: gvenzl/oracle-xe:${{ matrix.tag }}
env:
ORACLE_PASSWORD: schematic_root
ORACLE_DATABASE: schematic
APP_USER: schematic
APP_USER_PASSWORD: schematic
options: >-
--health-cmd healthcheck.sh
--health-interval 20s
--health-timeout 10s
--health-retries 10
ports:
- 1521:1521
steps:
- uses: actions/checkout@v3

- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x

- name: Install dependencies
run: dotnet restore
working-directory: src/SJP.Schematic.Oracle.Tests

- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: src/SJP.Schematic.Oracle.Tests

- name: Test
run: dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage"
working-directory: src/SJP.Schematic.Oracle.Tests
env:
ConnectionStrings__Oracle_TestDb: Data Source=localhost/XEPDB1; User Id=schematic; Password=schematic

- name: Coverage
uses: codecov/codecov-action@v3
name: oracle
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
db:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tag: [11, 18, 21, latest]
services:
oracle:
image: gvenzl/oracle-xe:${{ matrix.tag }}
env:
ORACLE_PASSWORD: schematic_root
ORACLE_DATABASE: schematic
APP_USER: schematic
APP_USER_PASSWORD: schematic
options: >-
--health-cmd healthcheck.sh
--health-interval 20s
--health-timeout 10s
--health-retries 10
ports:
- 1521:1521
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Install dependencies
run: dotnet restore
working-directory: src/SJP.Schematic.Oracle.Tests
- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: src/SJP.Schematic.Oracle.Tests
- name: Test
run: dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage"
working-directory: src/SJP.Schematic.Oracle.Tests
env:
ConnectionStrings__Oracle_TestDb: Data Source=localhost/XEPDB1; User Id=schematic; Password=schematic
- name: Coverage
uses: codecov/codecov-action@v4
102 changes: 51 additions & 51 deletions .github/workflows/postgres.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
name: postgres

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
db:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tag: [10, 11, 12, 13, 14, 15, 16, latest]
services:
postgres:
image: postgres:${{ matrix.tag }}
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v3

- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x

- name: Install dependencies
run: dotnet restore
working-directory: src/SJP.Schematic.PostgreSql.Tests

- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: src/SJP.Schematic.PostgreSql.Tests

- name: Test
run: dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage"
working-directory: src/SJP.Schematic.PostgreSql.Tests
env:
ConnectionStrings__PostgreSql_TestDb: Server=localhost; Port=5432; Database=postgres; User Id=postgres; Password=postgres; Timeout=2

- name: Coverage
uses: codecov/codecov-action@v3
name: postgres
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
db:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tag: [10, 11, 12, 13, 14, 15, 16, latest]
services:
postgres:
image: postgres:${{ matrix.tag }}
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Install dependencies
run: dotnet restore
working-directory: src/SJP.Schematic.PostgreSql.Tests
- name: Build
run: dotnet build --configuration Release --no-restore
working-directory: src/SJP.Schematic.PostgreSql.Tests
- name: Test
run: dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage"
working-directory: src/SJP.Schematic.PostgreSql.Tests
env:
ConnectionStrings__PostgreSql_TestDb: Server=localhost; Port=5432; Database=postgres; User Id=postgres; Password=postgres; Timeout=2
- name: Coverage
uses: codecov/codecov-action@v4
Loading
Loading