+++ /dev/null
-version: 2
-workflows:
- version: 2
- build:
- jobs:
- - build-znc1.6
- - build-znc1.7
- - test
-
-jobs:
- build: &build
- docker:
- - image: znc
-
- steps:
- - checkout
- - run:
- /opt/znc/bin/znc-buildmod palaver.cpp
-
- build-znc1.6:
- <<: *build
- docker:
- - image: znc:1.6
-
- build-znc1.7:
- <<: *build
- docker:
- - image: znc:1.7
-
- test:
- <<: *build
-
- steps:
- - checkout
- - run: |
- export PATH="/opt/znc/bin:$PATH"
- pip3 install pytest-asyncio semantic_version
- znc-buildmod palaver.cpp
- make test-integration
-
- - store_test_results:
- path: test-reports
--- /dev/null
+on: push
+jobs:
+ test:
+ strategy:
+ matrix:
+ znc:
+ - '1.7'
+ - '1.8'
+ runs-on: ubuntu-latest
+ container: znc:${{ matrix.znc }}
+
+ steps:
+ - uses: actions/checkout@v3
+ - run: /opt/znc/bin/znc-buildmod palaver.cpp
+ - run: |
+ export PATH="/opt/znc/bin:$PATH"
+ python3 -m ensurepip
+ pip3 install pytest-asyncio semantic_version
+ - run: |
+ export PATH="/opt/znc/bin:$PATH"
+ make test-integration
.PHONY: test-integration
test-integration: test/fixtures/modules/palaver.so
- @mkdir -p test-reports
- pytest --junitxml=test-reports/junit.xml
+ pytest
# Palaver ZNC Module

-[](https://circleci.com/gh/cocodelabs/znc-palaver)
Palaver ZNC module provides push notifications to Palaver while Palaver is
disconnected from IRC.