2021-07-03 12:50:00 +00:00
|
|
|
# This file was auto-generated by make_workflows.py.
|
|
|
|
# Do not edit it manually, modifications will be lost.
|
2021-02-24 12:42:24 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Python 3.7
|
|
|
|
uses: actions/setup-python@v2
|
|
|
|
with:
|
|
|
|
python-version: 3.7
|
|
|
|
- name: Cache dependencies
|
|
|
|
uses: actions/cache@v2
|
|
|
|
with:
|
|
|
|
key: ${{ runner.os }}-sopel
|
2021-07-03 12:50:00 +00:00
|
|
|
path: |-
|
|
|
|
~/.cache
|
|
|
|
$GITHUB_WORKSPACE/placeholder
|
2021-02-24 12:42:24 +00:00
|
|
|
- name: Install dependencies
|
2021-07-03 12:50:00 +00:00
|
|
|
run: |-
|
|
|
|
sudo apt-get install atheme-services
|
2021-02-24 12:42:24 +00:00
|
|
|
python -m pip install --upgrade pip
|
2021-07-03 12:50:00 +00:00
|
|
|
pip install pytest -r requirements.txt
|
|
|
|
- name: Install dependencies
|
2021-07-03 14:24:23 +00:00
|
|
|
run: pip install sopel==7.1.1
|
2021-02-24 12:42:24 +00:00
|
|
|
- name: Test with pytest
|
2021-07-03 12:50:00 +00:00
|
|
|
run: PATH=~/.local/bin:$PATH make sopel
|
2021-07-03 14:19:21 +00:00
|
|
|
name: irctest with Sopel (stable)
|
2021-07-03 12:50:00 +00:00
|
|
|
'on':
|
|
|
|
pull_request: null
|
|
|
|
push: null
|