Merge pull request #9 from codecov/drazisil-patch-1

Repo now self-tests
This commit is contained in:
Joe Becher
2019-08-24 12:52:45 -04:00
committed by GitHub
2 changed files with 27 additions and 3 deletions

24
.github/workflows/main.yml vendored Normal file
View File

@@ -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

View File

@@ -1,12 +1,12 @@
# Codecov @codecov # Codecov @codecov
FROM alpine:3.10 FROM ubuntu:latest
WORKDIR /app WORKDIR /app
COPY . /app COPY . /app
RUN apk add --no-cache curl bash git RUN apt update && apt install -y curl
RUN chmod +x /app/entrypoint.sh RUN chmod +x /app/entrypoint.sh
ENTRYPOINT [ "/app/entrypoint.sh" ] ENTRYPOINT [ "/app/entrypoint.sh" ]