summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2022-10-28 13:29:07 +0300
committerYuval Adam <_@yuv.al>2022-10-28 13:29:07 +0300
commit2dbebde66cbfcb504a388579e156a70a121994da (patch)
tree01bf10f51f032a54f6df97ee13082c7a9bf84627
parentb7e82c64ad47f5fe7565a521d3cd4844b950f3f7 (diff)
Add github build action
-rw-r--r--.github/workflows/build.yml24
1 files changed, 24 insertions, 0 deletions
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