Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
2382455
Add GH action
mildaniel Nov 25, 2022
11775dc
Update ruby version
mildaniel Nov 25, 2022
5df4023
Test conditional windows integration
mildaniel Nov 25, 2022
0641375
Test conditional windows integration
mildaniel Nov 25, 2022
41cd3d3
Separate tests
mildaniel Nov 25, 2022
434f7ef
Separate tests
mildaniel Nov 25, 2022
8873bd3
Separate tests
mildaniel Nov 25, 2022
aa571fc
Separate tests
mildaniel Nov 25, 2022
9b65888
Separate tests
mildaniel Nov 25, 2022
1080100
Separate tests
mildaniel Nov 25, 2022
4942f36
Fix pytest command
mildaniel Nov 25, 2022
912397d
Fix pytest command
mildaniel Nov 25, 2022
5ec8fea
Fix typo
mildaniel Nov 25, 2022
466d6fd
Fix typo
mildaniel Nov 25, 2022
3efefc6
Fix typo
mildaniel Nov 25, 2022
903dc3d
Fix typo
mildaniel Nov 25, 2022
7d667de
Fix typo
mildaniel Nov 25, 2022
e1aae00
Fix typo
mildaniel Nov 25, 2022
8a38e35
Comment out some tests
mildaniel Nov 25, 2022
a46c942
Add custom make
mildaniel Nov 25, 2022
2f2274a
Add custom make
mildaniel Nov 25, 2022
467e587
test gradle
mildaniel Nov 25, 2022
8904e95
Add custom make
mildaniel Nov 25, 2022
2aafb69
Add reminaing runtimes
mildaniel Nov 25, 2022
0b3fa79
Use Java Zulu distro
mildaniel Nov 25, 2022
c6b5a97
Add env variable
mildaniel Nov 26, 2022
14300e9
Fix typo
mildaniel Nov 26, 2022
1202d4f
Merge branch 'develop' into github-actions-jobs
mildaniel Nov 28, 2022
292e9f6
Fix node tests
mildaniel Nov 28, 2022
f1dcbfa
Merge branch 'github-actions-jobs' of github.com:mildaniel/aws-lambda…
mildaniel Nov 28, 2022
5203be1
Fix unit tests
mildaniel Nov 28, 2022
df21673
Merge branch 'develop' into github-actions-jobs
mildaniel Nov 28, 2022
22e02c8
Reformat pyproj
mildaniel Nov 29, 2022
14eb894
Merge branch 'github-actions-jobs' of github.com:mildaniel/aws-lambda…
mildaniel Nov 29, 2022
8217ae4
Add ruby 2.7 tests
mildaniel Nov 29, 2022
adaf0d8
Fix typo
mildaniel Nov 29, 2022
f798592
Use newer ruby action
mildaniel Nov 29, 2022
05a1588
Use newer ruby action
mildaniel Nov 29, 2022
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
255 changes: 255 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,255 @@
name: Build & Test

on:
pull_request

jobs:
unit-functional:
name: ${{ matrix.os }} / ${{ matrix.python }} / unit-functional
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
python:
- "3.7"
- "3.8"
- "3.9"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: shall we add "3.10" as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this might result in exceeding the limit of jobs/pr... Might need a separate job that does a smoke test with all versions.

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Unit Testing
run: make pr
- name: Functional Testing
run: make func-test

node-integration:
name: ${{ matrix.os }} / ${{ matrix.python }} / node / npm ${{ matrix.npm }}.x
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
python:
- "3.7"
- "3.8"
- "3.9"
npm:
- 8
- 9
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- uses: actions/setup-node@v3
with:
node-version: 18
- if: ${{ matrix.npm }}
run: npm install -g npm@${{ matrix.npm }}
- run: npm --version
- run: make init
- run: pytest -vv tests/integration/workflows/nodejs_npm

node-esbuild-integration:
name: ${{ matrix.os }} / ${{ matrix.python }} / esbuild / npm ${{ matrix.npm }}.x
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
python:
- "3.7"
- "3.8"
- "3.9"
npm:
- 8
- 9
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- uses: actions/setup-node@v3
with:
node-version: 18
- if: ${{ matrix.npm }}
run: npm install -g npm@${{ matrix.npm }}
- run: npm --version
- run: make init
- run: pytest -vv tests/integration/workflows/nodejs_npm_esbuild

golang-integration:
name: ${{ matrix.os }} / ${{ matrix.python }} / golang
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
python:
- "3.7"
- "3.8"
- "3.9"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- uses: actions/setup-go@v3
with:
go-version: '^1.16'
- run: make init
- run: pytest -vv tests/integration/workflows/go_modules

java-maven-integration:
name: ${{ matrix.os }} / ${{ matrix.python }} / java maven
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
python:
- "3.9"
- "3.8"
- "3.7"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '11'
- run: make init
- run: pytest -vv tests/integration/workflows/java_maven

java-gradle-integration:
name: ${{ matrix.os }} / ${{ matrix.python }} / java gradle
runs-on: ${{ matrix.os }}
env:
GRADLE_OPTS: -Dorg.gradle.daemon=false
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
python:
- "3.9"
- "3.8"
- "3.7"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'
- run: make init
- run: pytest -vv tests/integration/workflows/java_gradle

custom-make-integration:
name: ${{ matrix.os }} / ${{ matrix.python }} / custom make
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
python:
- "3.9"
- "3.8"
- "3.7"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- run: make init
- run: pytest -vv tests/integration/workflows/custom_make

python-integration:
name: ${{ matrix.os }} / ${{ matrix.python }} / python
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
python:
- "3.9"
- "3.8"
- "3.7"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- run: make init
- run: pytest -vv tests/integration/workflows/python_pip

ruby-integration:
name: ${{ matrix.os }} / ${{ matrix.python }} / ruby-${{ matrix.ruby }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
python:
- "3.9"
- "3.8"
- "3.7"
ruby:
- "3.1"
- "2.7"

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: make init
- run: pytest -vv tests/integration/workflows/ruby_bundler

dotnet-integration:
name: ${{ matrix.os }} / ${{ matrix.python }} / dotnet
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
python:
- "3.9"
- "3.8"
- "3.7"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- run: make init
- run: pytest -vv tests/integration/workflows/dotnet_clipackage
Empty file added conftest.py
Empty file.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ exclude = '''
| pip-wheel-metadata
)/
)
'''
'''