Skip to content

Commit 17dd190

Browse files
committed
2 parents 9824b72 + d4300fa commit 17dd190

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Python application
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
7+
steps:
8+
- uses: actions/checkout@v3
9+
- name: Set up Python 3.8
10+
uses: actions/setup-python@v4
11+
with:
12+
python-version: 3.8
13+
- name: Install dependencies
14+
run: |
15+
python -m pip install --upgrade pip
16+
- name: Run tests
17+
run: |
18+
python -m unittest discover -s tests

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# github-actions-python-ci
22
Python project to demonstrate continuous integration.
3+
4+
[![Python application](https://github.com/awjans/github-actions-python-ci/actions/workflows/main.yml/badge.svg)](https://github.com/awjans/github-actions-python-ci/actions/workflows/main.yml)

0 commit comments

Comments
 (0)