Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nhibernate/nhibernate-core
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: bahusoid/nhibernate-core
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: gha
Choose a head ref
  • 12 commits
  • 4 files changed
  • 3 contributors

Commits on Jun 6, 2021

  1. Add GitHub Actions build

    bahusoid committed Jun 6, 2021
    Copy the full SHA
    87b1a35 View commit details

Commits on Jun 7, 2021

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b06c8e4 View commit details
  2. Update NetCoreTests.yml

    bahusoid authored Jun 7, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2208c30 View commit details
  3. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f7c427d View commit details

Commits on Jun 8, 2021

  1. Delete .travis.yml

    Sorry to see you go. You've been a good friend. RIP.
    hazzik authored Jun 8, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5b6d36e View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ed451f5 View commit details

Commits on Feb 12, 2022

  1. Add .deepsource.toml

    deepsourcebot committed Feb 12, 2022
    Copy the full SHA
    befe168 View commit details

Commits on Aug 14, 2023

  1. Create PublishDevNuget.yml

    bahusoid authored Aug 14, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    cea60b4 View commit details
  2. Update PublishDevNuget.yml

    bahusoid authored Aug 14, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e91a4ef View commit details
  3. Update PublishDevNuget.yml

    bahusoid authored Aug 14, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b876185 View commit details
  4. Update PublishDevNuget.yml

    bahusoid authored Aug 14, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a811349 View commit details
  5. Update PublishDevNuget.yml

    bahusoid authored Aug 14, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b10d8f4 View commit details
Showing with 86 additions and 51 deletions.
  1. +5 −0 .deepsource.toml
  2. +57 −0 .github/workflows/NetCoreTests.yml
  3. +24 −0 .github/workflows/PublishDevNuget.yml
  4. +0 −51 .travis.yml
5 changes: 5 additions & 0 deletions .deepsource.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version = 1

[[analyzers]]
name = "csharp"
enabled = true
57 changes: 57 additions & 0 deletions .github/workflows/NetCoreTests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: .NET Core

on: [push, pull_request]

jobs:
db:
strategy:
fail-fast: false
matrix:
include:
- DB: SqlServer2008
CONNECTION_STRING: "Server=localhost;initial catalog=nhibernate;User Id=sa;Password=P@ssw0rd;packet size=4096;"
- DB: PostgreSQL
CONNECTION_STRING: "Host=localhost;Username=nhibernate;Password=nhibernate;Database=nhibernate;Enlist=true;"
- DB: Firebird
CONNECTION_STRING: "DataSource=localhost;Database=nhibernate;User=SYSDBA;Password=nhibernate;charset=utf8;"
- DB: MySQL
CONNECTION_STRING: "Server=localhost;Uid=root;Password=nhibernate;Database=nhibernate;Old Guids=True;"
ALLOW_FAILURE: true
- DB: SQLite
runs-on: ubuntu-latest
continue-on-error: ${{matrix.ALLOW_FAILURE == true}}
env:
LANG: en-US.UTF-8 #default POSIX locale doesn't support ignore case comparisons
name: ${{matrix.DB}}

steps:
- name: Set up SqlServer
if: matrix.DB == 'SqlServer2008'
run: |
docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=P@ssw0rd" -e "MSSQL_PID=Express" -p 1433:1433 -d --name sqlexpress microsoft/mssql-server-linux:latest;
- name: Set up MySQL
if: matrix.DB == 'MySQL'
run: |
sudo service mysql stop
docker run --name mysql -e MYSQL_ROOT_PASSWORD=nhibernate -e MYSQL_USER=nhibernate -e MYSQL_PASSWORD=nhibernate -e MYSQL_DATABASE=nhibernate -p 3306:3306 --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 -d mysql:5.7 mysqld --lower_case_table_names=1
- name: Set up PostgreSQL
if: matrix.DB == 'PostgreSQL'
run: |
docker run -d -e POSTGRES_USER=nhibernate -e POSTGRES_PASSWORD=nhibernate -e POSTGRES_DB=nhibernate -p 5432:5432 postgres:13
- name: Set up Firebird
if: matrix.DB == 'Firebird'
run: |
docker run --name firebird -e EnableWireCrypt=true -e FIREBIRD_USER=nhibernate -e FIREBIRD_PASSWORD=nhibernate -e ISC_PASSWORD=nhibernate -e FIREBIRD_DATABASE=nhibernate -p 3050:3050 -d jacobalberty/firebird:v3.0
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1.8.0
with:
dotnet-version: 2.1.x

- name: Build and Test
run: |
pwsh -noprofile -command "& ./build.ps1 -TaskList Set-Configuration,Test -properties @{'Database' = '${{matrix.DB}}';'ConnectionString'='${{matrix.CONNECTION_STRING}}'}"
24 changes: 24 additions & 0 deletions .github/workflows/PublishDevNuget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish Dev Nuget Package

on:
push:
branches:
- master
- 5.3.x
jobs:
publish:
# if: github.repository == 'nhibernate/nhibernate-core'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
2.2.x
6.0.x
- name: Pack
run: |
dotnet pack ./src/NHibernate/NHibernate.csproj -m:1 -c Release -p BuildNumber=${{github.run_number}}
- name: Push to NuGet
run: dotnet nuget push "./src/NHibernate/bin/Release/*-dev*.nupkg" --source https://api.nuget.org/v3/index.json
51 changes: 0 additions & 51 deletions .travis.yml

This file was deleted.