diff --git a/.github/workflows/robot.yml b/.github/workflows/robot.yml index 0d10fbc9..f4ccdb28 100644 --- a/.github/workflows/robot.yml +++ b/.github/workflows/robot.yml @@ -17,7 +17,9 @@ jobs: submodules: recursive fetch-depth: 0 - name: Pull images - run: docker-compose pull + run: | + cp .env.example .env + docker-compose pull - name: Docker cache uses: satackey/action-docker-layer-caching@v0.0.11 @@ -28,7 +30,6 @@ jobs: - name: Start the service run: | - cp .env.example .env docker-compose up -d - name: Perform healthchecks diff --git a/back/tests/Kyoo.Tests/Database/SpecificTests/SanityTests.cs b/back/tests/Kyoo.Tests/Database/SpecificTests/SanityTests.cs index 5748177a..cc2b00a3 100644 --- a/back/tests/Kyoo.Tests/Database/SpecificTests/SanityTests.cs +++ b/back/tests/Kyoo.Tests/Database/SpecificTests/SanityTests.cs @@ -16,35 +16,14 @@ // You should have received a copy of the GNU General Public License // along with Kyoo. If not, see . -using System; using System.Diagnostics.CodeAnalysis; -using System.Threading.Tasks; using Kyoo.Abstractions.Models; using Xunit; -using Xunit.Abstractions; namespace Kyoo.Tests.Database { - public class GlobalTests : IDisposable, IAsyncDisposable + public class GlobalTests { - private readonly RepositoryActivator _repositories; - - public GlobalTests(ITestOutputHelper output) - { - _repositories = new RepositoryActivator(output); - } - - public void Dispose() - { - _repositories.Dispose(); - GC.SuppressFinalize(this); - } - - public ValueTask DisposeAsync() - { - return _repositories.DisposeAsync(); - } - [Fact] [SuppressMessage("ReSharper", "EqualExpressionComparison")] public void SampleTest()