Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
[WIP] Clean Up & use GHA for CI (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samira-El authored Jun 16, 2021
1 parent 7e9e9e1 commit 5b14ed0
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 41 deletions.
36 changes: 0 additions & 36 deletions .circleci/config.yml

This file was deleted.

47 changes: 47 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: CI

on:
push:
branches: [master]
pull_request:
branches: [master]

workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: [3.6, 3.7, 3.8]

steps:
- name: Checking out repo
uses: actions/checkout@v2

- name: Set up Python ${{ matrix.container[1] }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: set LOGGING_CONF_FILE env
run: |
export LOGGING_CONF_FILE=$(pwd)/sample_logging.conf
echo $LOGGING_CONF_FILE
- name: Install dependencies
run: |
pip install --upgrade pip setuptools wheel
pip install .[test]
- name: Check if pylint is happy
run: pylint target_redshift -d C,W,unexpected-keyword-arg,duplicate-code

- name: Run Unit Tests
run: pytest -v --disable-pytest-warnings tests/unit
#
# No redshift instance to run these against
# - name: Run Integration Tests
# run: pytest -v --disable-pytest-warnings -v tests/integration
5 changes: 0 additions & 5 deletions requirements.txt

This file was deleted.

0 comments on commit 5b14ed0

Please sign in to comment.