15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@@ -60,12 +60,19 @@ jobs:
|
||||
|
||||
- name: "Run tests"
|
||||
run: |
|
||||
# Move test/.env to root
|
||||
mv test/ci.env .env
|
||||
# Run script
|
||||
# Test ci1
|
||||
mv test/ci1.env .env
|
||||
python main.py
|
||||
|
||||
# Run script twice to test if it can handle existing data
|
||||
# Test ci2
|
||||
mv test/ci2.env .env
|
||||
python main.py
|
||||
|
||||
# Test ci3
|
||||
mv test/ci3.env .env
|
||||
python main.py
|
||||
|
||||
# Test again to test if it can handle existing data
|
||||
python main.py
|
||||
|
||||
cat mark.log
|
||||
|
||||
Reference in New Issue
Block a user