-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add end to end integration tests to CI
- Loading branch information
Showing
3 changed files
with
55 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: integration | ||
|
||
on: | ||
push: | ||
branches: | ||
# Run on every push to trunk | ||
- trunk | ||
schedule: | ||
# Run every Saturday at 4:05 AM UTC | ||
- cron: "5 4 * * SAT" | ||
|
||
jobs: | ||
end-to-end: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
extras: | ||
- "" | ||
- "[lxml]" | ||
name: End-to-end tests | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.8" | ||
cache: pip | ||
cache-dependency-path: | | ||
pyproject.toml | ||
- name: Install project | ||
run: | | ||
pip install -U pip setuptools wheel | ||
pip install -e .${{ matrix.extras }} | ||
- name: Create csv | ||
run: mtg-ssm create collection1.csv | ||
|
||
- name: Update csv | ||
run: mtg-ssm update collection1.csv | ||
|
||
- name: Create xlsx | ||
run: mtg-ssm create collection2.xlsx | ||
|
||
- name: Update xlsx | ||
run: mtg-ssm update collection2.xlsx | ||
|
||
- name: Merge csv and xlsx | ||
run: mtg-ssm merge collection3.xlsx collection1.csv collection2.xlsx |
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