This commit is contained in:
@@ -3,12 +3,16 @@ name: CI
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
debug:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Debug
|
||||
- name: Debug vars
|
||||
run: |
|
||||
echo "PWD: $(pwd)"
|
||||
echo "ls: $(ls -la)"
|
||||
echo "GITEA_REPO_NAME: $GITEA_REPO_NAME"
|
||||
echo "github.repository: $github.repository"
|
||||
echo "GITEA_REPO_NAME=$GITEA_REPO_NAME"
|
||||
- name: Clone
|
||||
run: |
|
||||
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