irctest/.github/workflows/ergo_devel.yml

48 lines
1.2 KiB
YAML
Raw Normal View History

# This file was auto-generated by make_workflows.py.
# Do not edit it manually, modifications will be lost.
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
- uses: actions/setup-go@v2
with:
go-version: ~1.16
- run: go version
- name: Cache dependencies
uses: actions/cache@v2
with:
key: ${{ runner.os }}-ergo
path: |-
~/.cache
$GITHUB_WORKSPACE/ergo
- name: Install dependencies
run: |-
sudo apt-get install atheme-services
python -m pip install --upgrade pip
pip install pytest -r requirements.txt
- name: Checkout Ergo
uses: actions/checkout@v2
with:
path: ergo
ref: master
repository: ergochat/ergo
- name: Build Ergo
run: |
cd $GITHUB_WORKSPACE/ergo/
make build
make install
- name: Test with pytest
run: PATH=~/go/bin:$PATH make ergo
name: irctest with Ergo
'on':
schedule:
- cron: 51 8 * * 6
- cron: 51 8 * * 0
- cron: 51 17 * * *