mirror of
https://github.com/progval/irctest.git
synced 2025-04-07 15:59:49 +00:00
Generate .github/workflows/ from a single compact file (#65)
It's easier to read and maintain
This commit is contained in:
35
.github/workflows/sopel.yml
vendored
35
.github/workflows/sopel.yml
vendored
@ -1,37 +1,32 @@
|
||||
name: irctest with Sopel
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
# 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
|
||||
|
||||
- name: Cache dependencies
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
~/.cache
|
||||
key: ${{ runner.os }}-sopel
|
||||
|
||||
path: |-
|
||||
~/.cache
|
||||
$GITHUB_WORKSPACE/placeholder
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
run: |-
|
||||
sudo apt-get install atheme-services
|
||||
python -m pip install --upgrade pip
|
||||
pip install pytest sopel==7.0.7 -r requirements.txt
|
||||
|
||||
pip install pytest -r requirements.txt
|
||||
- name: Install dependencies
|
||||
run: pip install sopel==7.0.7
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
PATH=~/.local/bin:$PATH make sopel
|
||||
|
||||
|
||||
run: PATH=~/.local/bin:$PATH make sopel
|
||||
name: irctest with Sopel
|
||||
'on':
|
||||
pull_request: null
|
||||
push: null
|
||||
|
Reference in New Issue
Block a user