This commit is contained in:
@@ -4,16 +4,16 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout
|
||||||
run: |
|
run: |
|
||||||
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync.git .
|
wget -q https://7000pct.gitea.bloupla.net/7000pctAUTO/confsync/archive/main.tar.gz -O /tmp/repo.tar.gz
|
||||||
- name: Setup Python
|
tar xzf /tmp/repo.tar.gz -C /tmp
|
||||||
|
cp -r /tmp/confsync-main/* .
|
||||||
|
ls -la
|
||||||
|
- name: Check Python
|
||||||
|
run: python3 --version
|
||||||
|
- name: Install
|
||||||
run: |
|
run: |
|
||||||
apt-get update -qq
|
pip3 install -e . pytest 2>&1 | tail -5
|
||||||
apt-get install -y -qq python3 python3-pip git
|
- name: Test
|
||||||
- name: Install dependencies
|
run: pytest confsync/tests/ -v 2>&1 | head -30
|
||||||
run: |
|
|
||||||
pip install -q -e .
|
|
||||||
pip install -q pytest
|
|
||||||
- name: Run tests
|
|
||||||
run: pytest confsync/tests/ -v
|
|
||||||
|
|||||||
Reference in New Issue
Block a user