try to make auto archive upload

This commit is contained in:
2021-04-05 00:37:03 +03:00
parent 0bd3ba626a
commit 535e955814
5 changed files with 31 additions and 4 deletions

26
.github/workflows/run-tests.yml vendored Normal file
View File

@ -0,0 +1,26 @@
# based on https://github.com/actions/starter-workflows/blob/main/ci/python-app.yml
name: check commit
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: run check and tests in archlinux container
run: |
docker run \
-v ${{ github.workspace }}:/build -w /build \
archlinux:latest \
/bin/bash -c "pacman --noconfirm -Syu base-devel python python-pip && \
pip install -e .[web] && \
pip install -e .[check] && \
pip install -e .[test] && \
make check tests"