This commit is contained in:
@@ -3,12 +3,16 @@ name: CI
|
|||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
debug:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Debug
|
- name: Debug vars
|
||||||
run: |
|
run: |
|
||||||
echo "PWD: $(pwd)"
|
echo "GITEA_REPO_NAME=$GITEA_REPO_NAME"
|
||||||
echo "ls: $(ls -la)"
|
- name: Clone
|
||||||
echo "GITEA_REPO_NAME: $GITEA_REPO_NAME"
|
run: |
|
||||||
echo "github.repository: $github.repository"
|
git clone "https://gitea.com/${GITEA_REPO_NAME}.git" .
|
||||||
|
- name: Install
|
||||||
|
run: pip3 install -e . pytest
|
||||||
|
- name: Test
|
||||||
|
run: pytest tests/ -v
|
||||||
|
|||||||
Reference in New Issue
Block a user