Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

again... #15

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions .github/workflows/self-hosted.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,13 @@ on:

jobs:
build:
runs-on: [self-hosted, test]
runs-on: [self-hosted]
name: Python on test's computer
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: |
python3 -m venv env
source env/bin/activate
python3 -m pip install --upgrade pip
pip3 install .[dev]
echo "hello cruel world"
- name: Test with pytest
run: |
source env/bin/activate
pip3 install pytest
pytest
python3 -c "from hello_ci import HelloCI; HelloCI().greet()"
echo 'Ciao mondo!'