Skip to content

Commit

Permalink
Add CI build settings
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Apr 22, 2022
1 parent ae7e39e commit 4b8c1bb
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: CI Build

on:
push:
branches: [ main ]
pull_request:

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
# TODO: 3.10 in GH Actions is not yet stable enough for us
# You may often encounter "Error: Process completed with exit code 250."
python-version: ['3.6', '3.9']
env:
PYTHON_SLACK_SDK_MOCK_SERVER_MODE: 'threading'
#CI_UNSTABLE_TESTS_SKIP_ENABLED: '1'
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -U pip wheel
pip install -e ".[testing]"
pip install -e ".[optional]"
- name: Run validation
run: |
python setup.py validate

0 comments on commit 4b8c1bb

Please sign in to comment.