Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/wsdt/AlmostBinary
Browse files Browse the repository at this point in the history
  • Loading branch information
wsdt committed Jun 7, 2020
2 parents ad9fbcc + be08d85 commit 1d505d8
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/docker-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Tests within Docker

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

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile.tests --tag my-image-name:$(date +%s)
4 changes: 2 additions & 2 deletions Dockerfile.tests
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM microsoft/dotnet
FROM mcr.microsoft.com/dotnet/core/sdk:3.1

WORKDIR /app
COPY . .
Expand All @@ -9,4 +9,4 @@ RUN dotnet restore
RUN dotnet test

# run tests on docker run
ENTRYPOINT ["dotnet", "test"]
ENTRYPOINT ["dotnet", "test"]
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ This compiler & runtime will be improved continuously. Please be clement, as thi

**Take a look at the documentation: [Almost Binary - Wiki](https://github.com/wsdt/AlmostBinary/wiki)**

## Code Once, Run Everywhere.
## Code Once, Run Everywhere. ![Tests within Docker](https://github.com/wsdt/AlmostBinary/workflows/Tests%20within%20Docker/badge.svg)
Code in platform-independent Binary. It was never so easy to proof that you are a real geek.

This programming language is made for people, who..
Expand Down

0 comments on commit 1d505d8

Please sign in to comment.