ERS2 CO₂ #78
Workflow file for this run
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
name: Validate Data Converters | |
on: | |
push: | |
branches: | |
- main | |
pull_request_target: | |
paths: | |
- 'VENDORS/**/uplink/**' | |
- 'VENDORS/**/downlink/**' | |
jobs: | |
build: | |
name: Check data converters | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
ref: ${{ github.event.pull_request.head.ref }} | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10.2" | |
architecture: "x64" | |
- name: Install tb-rest-client | |
run: | | |
pip install tb-rest-client | |
- name: Run Validation Script | |
env: | |
ENDPOINT: ${{ secrets.ENDPOINT }} | |
USERNAME: ${{ secrets.USERNAME }} | |
PASSWORD: ${{ secrets.PASSWORD }} | |
run: python3 data_converters_validator.py |