Skip to content

Commit

Permalink
gh-actions: testing in several python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-salazar committed Mar 31, 2021
1 parent 09cdb81 commit 668be9d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,20 @@ on: [push, pull_request]
env:
EMG_CONFIG: ${{ github.workspace }}/ci/configuration.yaml

strategy:
matrix:
python-version: [3.4, 3.5, 3.6]

jobs:
build:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 🐍 - Set up Python 3.6
- name: 🐍 - Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: '3.6'
python-version: ${{ matrix.python-version }}
- name: 💾 Start MongoDB
uses: supercharge/[email protected]
with:
Expand Down Expand Up @@ -48,7 +52,7 @@ jobs:
- name: 📮 - Slack Notification
uses: rtCamp/action-slack-notify@v2
continue-on-error: true
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop'
env:
SLACK_COLOR: "${{ job.status == 'success' && 'good' || 'danger' }}"
SLACK_USERNAME: "Github Actions API"
Expand Down

0 comments on commit 668be9d

Please sign in to comment.