diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..b7f9ed1e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: PluralKit CI +on: + - push + - pull_request + +jobs: + build-ci-container: + runs-on: ubuntu-latest + steps: + - uses: docker/build-push-action@v2 + with: + push: false + tags: pkci + file: ci/Dockerfile + setup-ci: + runs-on: ubuntu-latest + needs: ["build-ci-container"] + container: + image: pkci diff --git a/ci/Dockerfile b/ci/Dockerfile new file mode 100644 index 00000000..09dc5d41 --- /dev/null +++ b/ci/Dockerfile @@ -0,0 +1,4 @@ +FROM alpine:latest +RUN apk add python3 +COPY ci/run_ci.py /run_ci.py +ENTRYPOINT ["/run_ci.py"] diff --git a/ci/run_ci.py b/ci/run_ci.py new file mode 100644 index 00000000..443828d0 --- /dev/null +++ b/ci/run_ci.py @@ -0,0 +1,3 @@ +#!/usr/bin/env python3 + +print("hello from python!")