Skip to content
This repository was archived by the owner on Apr 29, 2022. It is now read-only.

Commit fe5133f

Browse files
aramboiumgelurgel
andauthored
Github Actions workflow (#1194)
* Github Actions workflow Run tests in Github Actions instead of Travis. * Update pythonapp.yml * Update pythonapp.yml Co-authored-by: umgelurgel <umgelurgel@users.noreply.github.com>
1 parent ed57b9f commit fe5133f

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/pythonapp.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: EuroPython website
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- dev/ep20*
8+
- ep20*
9+
pull_request:
10+
branches:
11+
- dev/ep20*
12+
- ep20*
13+
14+
jobs:
15+
build:
16+
17+
runs-on: ubuntu-18.04
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
- name: Set up Python 3.6
22+
uses: actions/setup-python@v1
23+
with:
24+
python-version: 3.6
25+
- name: Install dependencies
26+
run: |
27+
python -m pip install --upgrade pip
28+
pip install -r requirements-dev.txt
29+
- name: Test with pytest
30+
run: |
31+
pip install pytest
32+
SECRET_KEY=secret pytest -c pytest_ci.ini

0 commit comments

Comments
 (0)