Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ported Buildkite checks to Github actions #210

Merged
merged 33 commits into from
Apr 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
44d828a
development dependencies now available as extras
H-Shay Mar 29, 2021
15a6abe
add etras_required
H-Shay Mar 29, 2021
623986c
development dependencies available as extras
H-Shay Mar 29, 2021
a1a5781
development dependencies now avaible as extras
H-Shay Mar 30, 2021
39cf16d
development dependencies now available as extras
H-Shay Mar 30, 2021
c4addb8
added versions to dev tools
H-Shay Mar 31, 2021
5e8ad5e
udated to install extra
H-Shay Mar 31, 2021
318fc91
fixed line
H-Shay Mar 31, 2021
043649b
fixed typo
H-Shay Mar 31, 2021
798aa1a
remove whitespace
H-Shay Mar 31, 2021
36a8010
fixed indentation
H-Shay Mar 31, 2021
0a1e093
added workflow file
H-Shay Apr 4, 2021
70d9442
update pipeline.yml
H-Shay Apr 4, 2021
8d37300
fixed syntax pipeline.yml
H-Shay Apr 4, 2021
5ecce7a
signed off by hillery shay
H-Shay Apr 4, 2021
76bf7d0
update test coverage
H-Shay Apr 5, 2021
71b2e86
Merge remote-tracking branch 'upstream/master'
H-Shay Apr 5, 2021
d87b235
port CI checks to Github Actions
H-Shay Apr 6, 2021
fc8920f
port CI checks to Github Actions
H-Shay Apr 6, 2021
d7448b8
port CI checks to Github Actions
H-Shay Apr 6, 2021
dc1c6b0
port CI checks to Github Actions
H-Shay Apr 6, 2021
f8a920d
port CI checks to Github Actions
H-Shay Apr 6, 2021
c7f154f
port CI pipeline to Github actions
H-Shay Apr 9, 2021
e65ee20
port CI pipeline to Github actions
H-Shay Apr 10, 2021
1b6c941
port CI pipeline to Github actions
H-Shay Apr 10, 2021
8d2739f
port CI pipeline to Github actions
H-Shay Apr 10, 2021
04acf5d
port CI pipeline to Github actions
H-Shay Apr 10, 2021
15f323a
port CI pipeline to Github actions
H-Shay Apr 10, 2021
ee755b5
port CI pipeline to Github actions
H-Shay Apr 10, 2021
86aabbb
port CI pipeline to Github actions
H-Shay Apr 10, 2021
36acd15
port CI pipeline to Github actions
H-Shay Apr 10, 2021
170bb9a
port CI pipeline to Github actions
H-Shay Apr 10, 2021
a2021b9
port CI checks to Github Actions
H-Shay Apr 12, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/changelog_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Name: Changelog
on: [pull_request]

jobs:
check-newsfile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.7"
- run: python -m pip install towncrier
- run: python -m towncrier.check
64 changes: 64 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Linting and Tests
on: [push]
jobs:
check-code-style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.7"
- run: python -m pip install tox
- run: tox -e check_codestyle

check-types-mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.7"
- run: python -m pip install tox
- run: tox -e check_types

run-unit-tests-sqlite:
needs: [check-code-style, check-types-mypy]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.7"
- run: python -m pip install -e .
- run: trial tests

run-unit-tests-postgres:
needs: [check-code-style, check-types-mypy]
runs-on: ubuntu-latest

services:
postgres:
image: postgres:11
ports:
- 5432:5432
env:
POSTGRES_PASSWORD: "postgres"
POSTGRES_INITDB_ARGS: "--lc-collate C --lc-ctype C --encoding UTF8"
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.7"
- run: python -m pip install -e .
- run: trial tests
env:
TEST_USE_POSTGRES: "yes"
TEST_POSTGRES_USER: "postgres"
TEST_POSTGRES_PASSWORD: "postgres"
TEST_POSTGRES_HOST: "localhost"
1 change: 1 addition & 0 deletions changelog.d/210.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Port CI checks to Github Actions.