Skip to content

Fix(Tests): Fix on the tests after the change of the logic of total p… #32

Fix(Tests): Fix on the tests after the change of the logic of total p…

Fix(Tests): Fix on the tests after the change of the logic of total p… #32

Workflow file for this run

name: CI
on:
push:
branches: ["master"]
workflow_dispatch:
jobs:
CI:
runs-on: ubuntu-latest
steps:
- name: Get the code
uses: actions/[email protected]
- name: Install .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0'
- name: Restore dependencies
run: dotnet restore
- name: Build the project
run: dotnet build --configuration Release
- name: Run xUnit tests
run: dotnet test --configuration Release --no-build
- name: Docker Auth
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PWD }}
- name: Second step, build and push Docker images
uses: docker/[email protected]
with:
context: .
file: ./dockerfile
push: true
tags: |
raphsodyz/future-space_the-spacedevs:${{ github.run_number }}
raphsodyz/future-space_the-spacedevs:latest