Skip to content

feat!: new breaking #89

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

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions .conventional-commits/GitVersion.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
# setting next-version temporary until 1.0.0 is released
next-version: 0.0.0
assembly-versioning-scheme: MajorMinorPatch
mode: Mainline
ignore:
13 changes: 8 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -14,25 +14,28 @@ jobs:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
environment:
name: pypi
url: https://pypi.org/p/data-factory-testing-framework
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Download sdist
uses: actions/download-artifact@v3
with:
name: dist
name: sdist
path: dist
- name: Download whl
uses: actions/download-artifact@v3
with:
name: whl
path: dist
- name: Create release
run: gh release create "v${{ inputs.version }}" --prerelease --target ${{ github.ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: ./dist
- name: Create release
run: gh release create ${{ inputs.version }} --prerelease --target ${{ github.ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
@@ -11,6 +11,7 @@ jobs:
if: github.ref == 'refs/heads/main'
permissions:
id-token: write
contents: write
uses: ./.github/workflows/cd.yml
with:
version: ${{ needs.ci.outputs.version }}
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ jobs:
fetch-tags: true
fetch-depth: 0
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0
uses: gittools/actions/gitversion/setup@v1.1.1
with:
versionSpec: '5.x'
- name: Determine Version
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: CD
name: E2E

on:
workflow_call: # yamllint disable-line rule:truthy
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -40,6 +40,10 @@ A simple test to validate that the concatenation is working as expected could lo
assert "https://example.com/some-path" == activity.type_properties["url"].result
```

sss

s

## Why :question:

Data Factory does not support unit testing, nor testing of pipelines locally. Having integration and e2e tests running on an actual Data Factory instance is great, but having unit tests on top of them provides additional means of quick iteration, validation and regression testing. Unit testing with the _Data Factory Testing Framework_ has the following benefits: