From 2dbebde66cbfcb504a388579e156a70a121994da Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Fri, 28 Oct 2022 13:29:07 +0300 Subject: Add github build action --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/build.yml (limited to '.github/workflows') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..eb22d5f --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,24 @@ +name: Build + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.10"] + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install pip and testing tools + run: | + python -m pip install --upgrade pipenv + pipenv install -d + - name: Test build + run: | + pipenv run build -- cgit v1.3.1