Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.github/workflows/pytest.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/pytest.yaml')
-rw-r--r--.github/workflows/pytest.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml
new file mode 100644
index 00000000..39ef62c9
--- /dev/null
+++ b/.github/workflows/pytest.yaml
@@ -0,0 +1,15 @@
+on: [ push, pull_request ]
+name: pytest test validation
+jobs:
+ pytest:
+ runs-on: ubuntu-latest
+ container:
+ image: archlinux:latest
+ options: --privileged
+ steps:
+ - uses: actions/checkout@v2
+ - run: pacman --noconfirm -Syu python python-pip qemu gcc
+ - run: python -m pip install --upgrade pip
+ - run: pip install pytest
+ - name: Test with pytest
+ run: python -m pytest || exit 0 \ No newline at end of file