Skip to content

Commit

Permalink
#280 Remove strategy matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
viliambalaz committed Jul 1, 2020
1 parent 2e0c60d commit 6cf9a48
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
name: Python package

name: Testing project
on: push

jobs:
build:

runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [2.7.18]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
- name: Checkout repo
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
python-version: 2.7.18
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install virtualenv gettext
- name: Run setup
run: |
CREDENTIALS=(
CONFIGURATION=(
# Server mode: Local development mode with dummy email infrastructure.
"2"
# Mock libreoffice?
Expand Down Expand Up @@ -67,7 +61,7 @@ jobs:
# Google OAuth Secret (default)
""
)
printf "%s\n" "${CREDENTIALS[@]}" | PYTHONUNBUFFERED=1 python setup.py
- name: Test
printf "%s\n" "${CONFIGURATION[@]}" | PYTHONUNBUFFERED=1 python setup.py
- name: Run tests
run: |
env/bin/python manage.py test

0 comments on commit 6cf9a48

Please sign in to comment.