This commit is contained in:
@@ -4,18 +4,18 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Clone
|
||||||
run: |
|
run: |
|
||||||
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git .
|
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git /tmp/confsync
|
||||||
pwd && ls -la
|
ls /tmp/confsync
|
||||||
- name: Setup Python
|
- name: Setup
|
||||||
run: |
|
run: |
|
||||||
apt-get update -qq
|
apt-get update -qq
|
||||||
apt-get install -y -qq python3 python3-pip git
|
apt-get install -y -qq python3 python3-pip git < /dev/null
|
||||||
python3 --version && pip3 --version
|
- name: Install
|
||||||
- name: Install package
|
|
||||||
run: |
|
run: |
|
||||||
pip3 install -e . 2>&1 | tail -10
|
pip3 install -e /tmp/confsync pytest
|
||||||
- name: Verify installation
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
python3 -c "import confsync; print('Import successful')"
|
ls /tmp/confsync/confsync/tests/
|
||||||
|
pytest /tmp/confsync/confsync/tests/ -v
|
||||||
|
|||||||
Reference in New Issue
Block a user