diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 5ee48ccc..1240b1f1 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -33,6 +33,7 @@ jobs: sudo apt-get install apt-transport-https echo "deb [signed-by=/usr/share/keyrings/elasticsearch-keyring.gpg] https://artifacts.elastic.co/packages/8.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-8.x.list sudo apt-get update && sudo apt-get install elasticsearch + sudo sed -i 's/xpack.security.enabled: true/xpack.security.enabled: false/' /etc/elasticsearch/elasticsearch.yml sudo systemctl restart elasticsearch sudo systemctl --no-pager status elasticsearch - name: Install Python dependencies @@ -53,6 +54,7 @@ jobs: - name: Test sample DMARC reports continue-on-error: true run: | + pip install -e . parsedmarc --debug -c ci.ini samples/aggregate/* parsedmarc --debug -c ci.ini samples/forensic/*" - name: Test building packages diff --git a/samples/aggregate/invalid/report_with_upper_cased_pass.xml b/samples/aggregate_invalid/report_with_upper_cased_pass.xml similarity index 100% rename from samples/aggregate/invalid/report_with_upper_cased_pass.xml rename to samples/aggregate_invalid/report_with_upper_cased_pass.xml