-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from BuildingSync/develop
prep for 0.3.0-alpha.0 release
- Loading branch information
Showing
9 changed files
with
520 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,31 +12,49 @@ jobs: | |
python-version: [3.7, 3.8] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Display Python version | ||
run: python -c "import sys; print(sys.version)" | ||
|
||
- name: Install poetry | ||
uses: abatilo/[email protected] | ||
|
||
- name: Install poetry (and update) and pre-commit | ||
run: | | ||
poetry update | ||
poetry run pre-commit install | ||
- name: Run pre-commit | ||
run: poetry run pre-commit run --all-files | ||
|
||
- name: Run tests | ||
run: poetry run pytest | ||
|
||
- name: Run Generator (BuildingSync 2.4) | ||
run: | | ||
curl -L -o bsyncpy/BuildingSync-2.4.xsd https://github.com/BuildingSync/schema/releases/download/v2.4.0/BuildingSync.xsd | ||
cd bsyncpy | ||
poetry run python bsyncpy_generator.py BuildingSync-2.4.xsd | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Display Python version | ||
run: python -c "import sys; print(sys.version)" | ||
|
||
- name: Install poetry | ||
uses: abatilo/[email protected] | ||
|
||
- name: Install poetry (and update) and pre-commit | ||
run: | | ||
poetry update | ||
poetry run pre-commit install | ||
- name: Run pre-commit | ||
run: poetry run pre-commit run --all-files | ||
|
||
- name: Run tests | ||
run: poetry run pytest | ||
|
||
- name: Run Generator (BuildingSync 2.3) | ||
run: | | ||
curl -L -o bsyncpy/BuildingSync-2.3.xsd https://github.com/BuildingSync/schema/releases/download/v2.3.0/BuildingSync.xsd | ||
cd bsyncpy | ||
poetry run python bsyncpy_generator.py BuildingSync-2.3.xsd | ||
- name: Run Generator (BuildingSync 2.4) | ||
run: | | ||
curl -L -o bsyncpy/BuildingSync-2.4.xsd https://github.com/BuildingSync/schema/releases/download/v2.4.0/BuildingSync.xsd | ||
cd bsyncpy | ||
poetry run python bsyncpy_generator.py BuildingSync-2.4.xsd | ||
- name: Run Generator (BuildingSync Develop V2) | ||
run: | | ||
curl -L -o bsyncpy/BuildingSync-develop-v2.xsd https://raw.githubusercontent.com/BuildingSync/schema/develop-v2/BuildingSync.xsd | ||
cd bsyncpy | ||
poetry run python bsyncpy_generator.py BuildingSync-develop-v2.xsd | ||
- name: Run Generator (BuildingSync Develop V3) | ||
run: | | ||
curl -L -o bsyncpy/BuildingSync-develop-v3.xsd https://raw.githubusercontent.com/BuildingSync/schema/develop-v3/BuildingSync.xsd | ||
cd bsyncpy | ||
poetry run python bsyncpy_generator.py BuildingSync-develop-v3.xsd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ dist | |
BuildingSync.xsd | ||
BuildingSync-*.xsd | ||
example.py | ||
output.xml | ||
output.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
repos: | ||
- repo: https://github.com/psf/black | ||
rev: 21.9b0 # Replace by any tag/version: https://github.com/psf/black/tags | ||
rev: 22.3.0 | ||
hooks: | ||
- id: black | ||
language_version: python3 # Should be a command that runs python3.6+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.