diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..eed85bd --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,24 @@ +name: Example workflow for Codecov +on: [push] +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + +# - name: Setup Python +# uses: actions/setup-python@master + +# - name: Generate coverage report +# run: | +# pip install pytest +# pip install pytest-cov +# pytest --cov=./ --cov-report=xml + + - name: Upload coverage to Codecov + uses: ./ + with: + token: ${{secrets.CODECOV_TOKEN}} + flags: unittest + name: codecov-1 + #badstuff: morebadstuff diff --git a/Dockerfile b/Dockerfile index f9cd8d0..64edaf5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ # Codecov @codecov -FROM alpine:3.10 +FROM ubuntu:latest WORKDIR /app COPY . /app -RUN apk add --no-cache curl bash git +RUN apt update && apt install -y curl RUN chmod +x /app/entrypoint.sh -ENTRYPOINT [ "/app/entrypoint.sh" ] \ No newline at end of file +ENTRYPOINT [ "/app/entrypoint.sh" ]