Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 89e842f

Browse files
committed
ci: replace circle-ci with github workflow jobs
1 parent 83d6690 commit 89e842f

File tree

2 files changed

+22
-50
lines changed

2 files changed

+22
-50
lines changed

.circleci/config.yml

-48
This file was deleted.

.github/workflows/pypi.yaml

+22-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,27 @@
11
name: Publish package to PyPi
2-
on: push
3-
2+
on: [ push ]
43
jobs:
4+
5+
lint:
6+
name: Lint
7+
runs-on: python:3.7.4
8+
steps:
9+
- uses: actions/checkout@master
10+
- name: Install flake8
11+
run: pip install flake8
12+
- name: Run lints
13+
run: flake8 airflow_dbt/ tests/ setup.py
14+
15+
test:
16+
name: Test
17+
runs-on: python:3.7.4
18+
steps:
19+
- uses: actions/checkout@master
20+
- name: Install deps and pytest
21+
run: pip install --progress-bar off --user . pytest
22+
- name: Run tests
23+
run: fpython -m pytest tests/ -sv
24+
525
build-n-publish:
626
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
727
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)